Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgeorge committed Jun 1, 2024
1 parent c49e745 commit f5c032b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/restic/restic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func TestResticBackup(t *testing.T) {
name: "with wrapper process",
paths: []string{testData},
opts: []GenericOption{
WithWrapperProcess("nice", "-n", "19"),
WithPrefixCommand("nice", "-n", "19"),
},
files: 100,
unixOnly: true,
Expand All @@ -100,7 +100,7 @@ func TestResticBackup(t *testing.T) {
name: "with invalid wrapper process",
paths: []string{testData},
opts: []GenericOption{
WithWrapperProcess("invalid-wrapper"),
WithPrefixCommand("invalid-wrapper"),
},
wantErr: true,
},
Expand Down

0 comments on commit f5c032b

Please sign in to comment.