diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-03-21 11:00:00 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-03-30 21:57:00 +1100 |
commit | 89c2f4f2ff645c6b4658a98330e9c2398eec4726 (patch) | |
tree | 29dfed97ee10d3b214d81bb108937f66182dc054 /pkg/commands/models | |
parent | 5a0f23e6d67c982f1b8664245535642d24b32d73 (diff) |
fix spec
Diffstat (limited to 'pkg/commands/models')
-rw-r--r-- | pkg/commands/models/file_change_node_test.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkg/commands/models/file_change_node_test.go b/pkg/commands/models/file_change_node_test.go index 8190230e3..e4ec59edf 100644 --- a/pkg/commands/models/file_change_node_test.go +++ b/pkg/commands/models/file_change_node_test.go @@ -83,8 +83,9 @@ func TestCompress(t *testing.T) { Path: "", Children: []*FileChangeNode{ { - Path: "dir1/file2", - File: &File{Name: "file2", ShortStatus: "M ", HasUnstagedChanges: true}, + Path: "dir1/file2", + File: &File{Name: "file2", ShortStatus: "M ", HasUnstagedChanges: true}, + CompressionLevel: 1, }, { Path: "dir2", @@ -100,8 +101,9 @@ func TestCompress(t *testing.T) { }, }, { - Path: "dir3/dir3-1/file5", - File: &File{Name: "file5", ShortStatus: "M ", HasUnstagedChanges: true}, + Path: "dir3/dir3-1/file5", + File: &File{Name: "file5", ShortStatus: "M ", HasUnstagedChanges: true}, + CompressionLevel: 2, }, { File: &File{Name: "file1", ShortStatus: "M ", HasUnstagedChanges: true}, |