Add t.Helper() call to checkLayers for better error logging

This commit is contained in:
Priya Wadhwa 2018-09-11 16:24:21 -07:00
parent ccb6259b06
commit 7635421ae9
1 changed files with 1 additions and 0 deletions

View File

@ -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)