From e1def4f8ac11b9d73c1caaa13a7c69626c964315 Mon Sep 17 00:00:00 2001
From: Max Jonas Werner <mail@makk.es>
Date: Wed, 18 May 2022 16:36:18 +0200
Subject: [PATCH] make e2e test easier to debug

Signed-off-by: Max Jonas Werner <mail@makk.es>
---
 cmd/flux/check_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/flux/check_test.go b/cmd/flux/check_test.go
index e6374535..41b885ab 100644
--- a/cmd/flux/check_test.go
+++ b/cmd/flux/check_test.go
@@ -37,7 +37,7 @@ func TestCheckPre(t *testing.T) {
 
 	var versions map[string]version.Info
 	if err := json.Unmarshal([]byte(jsonOutput), &versions); err != nil {
-		t.Fatalf("Error unmarshalling: %v", err.Error())
+		t.Fatalf("Error unmarshalling '%s': %v", jsonOutput, err.Error())
 	}
 
 	serverVersion := strings.TrimPrefix(versions["serverVersion"].GitVersion, "v")
-- 
GitLab