From b22655367c293e37a46b8e034351fdb197134d34 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Fri, 6 Mar 2020 23:42:34 +0100 Subject: [PATCH] integration_test: Replace fprintf without format string --- cmd/restic/integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }