14 lines
202 B
Go
14 lines
202 B
Go
|
package commands
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/require"
|
||
|
)
|
||
|
|
||
|
func TestGit(t *testing.T) {
|
||
|
files, err := listChangedFiles(".")
|
||
|
require.NoError(t, err)
|
||
|
require.NotEmpty(t, files)
|
||
|
}
|