mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 22:32:13 +02:00
fix spec
This commit is contained in:
@@ -83,8 +83,9 @@ func TestCompress(t *testing.T) {
|
|||||||
Path: "",
|
Path: "",
|
||||||
Children: []*FileChangeNode{
|
Children: []*FileChangeNode{
|
||||||
{
|
{
|
||||||
Path: "dir1/file2",
|
Path: "dir1/file2",
|
||||||
File: &File{Name: "file2", ShortStatus: "M ", HasUnstagedChanges: true},
|
File: &File{Name: "file2", ShortStatus: "M ", HasUnstagedChanges: true},
|
||||||
|
CompressionLevel: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Path: "dir2",
|
Path: "dir2",
|
||||||
@@ -100,8 +101,9 @@ func TestCompress(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Path: "dir3/dir3-1/file5",
|
Path: "dir3/dir3-1/file5",
|
||||||
File: &File{Name: "file5", ShortStatus: "M ", HasUnstagedChanges: true},
|
File: &File{Name: "file5", ShortStatus: "M ", HasUnstagedChanges: true},
|
||||||
|
CompressionLevel: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
File: &File{Name: "file1", ShortStatus: "M ", HasUnstagedChanges: true},
|
File: &File{Name: "file1", ShortStatus: "M ", HasUnstagedChanges: true},
|
||||||
|
|||||||
Reference in New Issue
Block a user