diff --git a/cmd/restic/integration_test.go b/cmd/restic/integration_test.go index 582f7efdc..439ea8510 100644 --- a/cmd/restic/integration_test.go +++ b/cmd/restic/integration_test.go @@ -449,7 +449,7 @@ func TestBackupExclude(t *testing.T) { f, err := os.Create(fp) rtest.OK(t, err) - fmt.Fprintf(f, filename) + fmt.Fprint(f, filename) rtest.OK(t, f.Close()) }