summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorAnthony HAMON <hamon.anth@gmail.com>2018-08-28 21:17:18 +0200
committerAnthony HAMON <hamon.anth@gmail.com>2018-08-29 12:03:32 +0200
commit66e5dacf5ea8e1474ec7470ffa2c0f7865947a1c (patch)
tree95057443897ffed64481095cb85b31fd60084926 /pkg
parente3ed899b20c1e1cec25245bcb32c272ad02580fd (diff)
fix git tests
Diffstat (limited to 'pkg')
-rw-r--r--pkg/commands/git_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go
index 2380887e1..8117ed1e5 100644
--- a/pkg/commands/git_test.go
+++ b/pkg/commands/git_test.go
@@ -118,6 +118,7 @@ func TestGetStatusFiles(t *testing.T) {
Deleted: false,
HasMergeConflicts: false,
DisplayString: "MM file1.txt",
+ Type: "other",
},
{
Name: "file3.txt",
@@ -127,6 +128,7 @@ func TestGetStatusFiles(t *testing.T) {
Deleted: false,
HasMergeConflicts: false,
DisplayString: "A file3.txt",
+ Type: "other",
},
{
Name: "file2.txt",
@@ -136,6 +138,7 @@ func TestGetStatusFiles(t *testing.T) {
Deleted: false,
HasMergeConflicts: false,
DisplayString: "AM file2.txt",
+ Type: "other",
},
{
Name: "file4.txt",
@@ -145,6 +148,7 @@ func TestGetStatusFiles(t *testing.T) {
Deleted: false,
HasMergeConflicts: false,
DisplayString: "?? file4.txt",
+ Type: "other",
},
}