diff --git a/testing/scenarios/command_test.go b/testing/scenarios/command_test.go index 7e731b5b..c7914752 100644 --- a/testing/scenarios/command_test.go +++ b/testing/scenarios/command_test.go @@ -287,7 +287,7 @@ func TestCommanderListHandlers(t *testing.T) { } if diff := cmp.Diff(inboundResp.Inbounds, clientConfig.Inbound, protocmp.Transform()); diff != "" { - t.Fatal("inbound response doesn't match config (-want +got):\n%s", diff) + t.Fatalf("inbound response doesn't match config (-want +got):\n%s", diff) } outboundResp, err := hsClient.ListOutbounds(context.Background(), &command.ListOutboundsRequest{}) @@ -297,7 +297,7 @@ func TestCommanderListHandlers(t *testing.T) { } if diff := cmp.Diff(outboundResp.Outbounds, clientConfig.Outbound, protocmp.Transform()); diff != "" { - t.Fatal("outbound response doesn't match config (-want +got):\n%s", diff) + t.Fatalf("outbound response doesn't match config (-want +got):\n%s", diff) } }