Skip to content

Commit 9b421a8

Browse files
committed
fix test
1 parent 9fd1767 commit 9b421a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/sync/sync_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ func TestSync(t *testing.T) {
100100
Perms: true,
101101
Dry: false,
102102
DeleteSrc: false,
103+
Limits: -1,
103104
DeleteDst: false,
104105
Exclude: []string{"c*"},
105106
Include: []string{"a[1-9]", "a*"},
@@ -187,6 +188,7 @@ func TestSyncIncludeAndExclude(t *testing.T) {
187188
DeleteSrc: false,
188189
DeleteDst: false,
189190
Verbose: false,
191+
Limits: -1,
190192
Quiet: true,
191193
Exclude: []string{"1"},
192194
}
@@ -355,6 +357,7 @@ func TestSyncLink(t *testing.T) {
355357
Perms: true,
356358
Links: true,
357359
Quiet: true,
360+
Limits: -1,
358361
ForceUpdate: true,
359362
}); err != nil {
360363
t.Fatalf("sync: %s", err)
@@ -410,6 +413,7 @@ func TestSyncLinkWithOutFollow(t *testing.T) {
410413
Perms: true,
411414
Quiet: true,
412415
ForceUpdate: true,
416+
Limits: -1,
413417
}); err != nil {
414418
t.Fatalf("sync: %s", err)
415419
}
@@ -443,6 +447,7 @@ func TestSingleLink(t *testing.T) {
443447
Perms: true,
444448
Links: true,
445449
Quiet: true,
450+
Limits: -1,
446451
ForceUpdate: true,
447452
}); err != nil {
448453
t.Fatalf("sync: %s", err)

0 commit comments

Comments
 (0)