From 7635421ae99971346ac61d3c594973c974fde114 Mon Sep 17 00:00:00 2001 From: Priya Wadhwa Date: Tue, 11 Sep 2018 16:24:21 -0700 Subject: [PATCH] Add t.Helper() call to checkLayers for better error logging --- integration/integration_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/integration/integration_test.go b/integration/integration_test.go index e9601da96..20fd22480 100644 --- a/integration/integration_test.go +++ b/integration/integration_test.go @@ -245,6 +245,7 @@ func TestLayers(t *testing.T) { } func checkLayers(t *testing.T, image1, image2 string, offset int) { + t.Helper() img1, err := getImageDetails(image1) if err != nil { t.Fatalf("Couldn't get details from image reference for (%s): %s", image1, err)