From f5c032b0e7e40dbae4e5cadf0415699d34ea1709 Mon Sep 17 00:00:00 2001 From: garethgeorge Date: Fri, 31 May 2024 19:16:53 -0700 Subject: [PATCH] fix test --- pkg/restic/restic_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/restic/restic_test.go b/pkg/restic/restic_test.go index 16d85dd6..ff566fe2 100644 --- a/pkg/restic/restic_test.go +++ b/pkg/restic/restic_test.go @@ -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, @@ -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, },