Skip to content

Commit f5c032b

Browse files
committed
fix test
1 parent c49e745 commit f5c032b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/restic/restic_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func TestResticBackup(t *testing.T) {
9191
name: "with wrapper process",
9292
paths: []string{testData},
9393
opts: []GenericOption{
94-
WithWrapperProcess("nice", "-n", "19"),
94+
WithPrefixCommand("nice", "-n", "19"),
9595
},
9696
files: 100,
9797
unixOnly: true,
@@ -100,7 +100,7 @@ func TestResticBackup(t *testing.T) {
100100
name: "with invalid wrapper process",
101101
paths: []string{testData},
102102
opts: []GenericOption{
103-
WithWrapperProcess("invalid-wrapper"),
103+
WithPrefixCommand("invalid-wrapper"),
104104
},
105105
wantErr: true,
106106
},

0 commit comments

Comments
 (0)