From c80eec19dd6204d698d54c0a2ee6f253cd0059bb Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Mon, 22 Aug 2022 16:58:51 +0200 Subject: [PATCH] e2e: fix output test assertion The format string didn't match the parameters. --- test/e2e/framework/internal/output/output.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/framework/internal/output/output.go b/test/e2e/framework/internal/output/output.go index e167e05a0d1..94c98a856e1 100644 --- a/test/e2e/framework/internal/output/output.go +++ b/test/e2e/framework/internal/output/output.go @@ -44,7 +44,7 @@ func TestGinkgoOutput(t *testing.T, expected SuiteResults) { // Now check the output. actual := normalizeReport(report) - if assert.Equal(t, len(expected), len(actual), "Should have %d test results, got: %v", actual) { + if assert.Equal(t, len(expected), len(actual), "Should have %d test results, got: %v", len(expected), actual) { for i := 0; i < len(expected); i++ { assert.Equal(t, expected[i].Name, actual[i].Name, "name from test #%d", i) output := actual[i].Output