From ae485d85c6f39703a65e2b5130cb7cbaa6d5826c Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Wed, 22 Jan 2025 22:02:54 +0100 Subject: [PATCH] fix test --- internal/testutil/build_cli.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/testutil/build_cli.go b/internal/testutil/build_cli.go index c1d879d5f..ce3c69ff5 100644 --- a/internal/testutil/build_cli.go +++ b/internal/testutil/build_cli.go @@ -4,14 +4,13 @@ import ( "os/exec" "path/filepath" "runtime" - "testing" "time" "github.com/databricks/cli/libs/folders" "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") require.NoError(t, err)