summaryrefslogtreecommitdiffstats
path: root/pkg/commands/git_commands/file_loader_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/git_commands/file_loader_test.go')
-rw-r--r--pkg/commands/git_commands/file_loader_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/commands/git_commands/file_loader_test.go b/pkg/commands/git_commands/file_loader_test.go
index ae149c2f2..f7efe68b8 100644
--- a/pkg/commands/git_commands/file_loader_test.go
+++ b/pkg/commands/git_commands/file_loader_test.go
@@ -5,7 +5,6 @@ import (
"github.com/jesseduffield/lazygit/pkg/commands/models"
"github.com/jesseduffield/lazygit/pkg/commands/oscommands"
- "github.com/jesseduffield/lazygit/pkg/utils"
"github.com/stretchr/testify/assert"
)
@@ -178,7 +177,7 @@ func TestFileGetStatusFiles(t *testing.T) {
cmd := oscommands.NewDummyCmdObjBuilder(s.runner)
loader := &FileLoader{
- Common: utils.NewDummyCommon(),
+ GitCommon: buildGitCommon(commonDeps{}),
cmd: cmd,
config: &FakeFileLoaderConfig{showUntrackedFiles: "yes"},
getFileType: func(string) string { return "file" },