Files
yaho/internal/tools/git/gitlib_test.go
Nikolai Rodionov 7c2294d9df
Some checks failed
Lint / Run on Ubuntu (push) Has been cancelled
E2E Tests / Run on Ubuntu (push) Has been cancelled
Tests / Run on Ubuntu (push) Has been cancelled
Init project
2025-07-15 17:58:36 +02:00

16 lines
336 B
Go

package git_test
import (
"testing"
"github.com/allanger/yaho/internal/tools/git"
"github.com/stretchr/testify/assert"
)
func TestGitHttpClone(t *testing.T) {
gitlib := &git.GitLib{}
path, err := gitlib.CloneRepo("https://github.com/db-operator/db-operator.git", "main")
assert.NoError(t, err)
assert.Equal(t, "test", path)
}