mirror of
https://github.com/foomo/squadron.git
synced 2026-01-30 14:07:33 +00:00
18 lines
273 B
Go
18 lines
273 B
Go
package git_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/foomo/squadron/internal/git"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestGetInfo(t *testing.T) {
|
|
t.Setenv("PROJECT_ROOT", "../../")
|
|
|
|
info, err := git.GetInfo(t.Context())
|
|
require.NoError(t, err)
|
|
|
|
t.Log(info)
|
|
}
|