diff --git a/command/state_push_test.go b/command/state_push_test.go index 18e821769..10f1718a9 100644 --- a/command/state_push_test.go +++ b/command/state_push_test.go @@ -80,7 +80,7 @@ func TestStatePush_replaceMatchStdin(t *testing.T) { // Setup the replacement to come from stdin var buf bytes.Buffer if err := terraform.WriteState(expected, &buf); err != nil { - t.Fatalf("err: %s") + t.Fatalf("err: %s", err) } defer testStdinPipe(t, &buf)()