mirror of https://github.com/databricks/cli.git
fix test
This commit is contained in:
parent
e2ca65f81e
commit
ae485d85c6
|
@ -4,14 +4,13 @@ import (
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"runtime"
|
"runtime"
|
||||||
"testing"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/databricks/cli/libs/folders"
|
"github.com/databricks/cli/libs/folders"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
func BuildCLI(t *testing.T, flags ...string) string {
|
func BuildCLI(t TestingT, flags ...string) string {
|
||||||
repoRoot, err := folders.FindDirWithLeaf(".", ".git")
|
repoRoot, err := folders.FindDirWithLeaf(".", ".git")
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue