diff --git a/pkg/cook/recipe_info_test.go b/pkg/cook/recipe_info_test.go index d5750bc..b203534 100644 --- a/pkg/cook/recipe_info_test.go +++ b/pkg/cook/recipe_info_test.go @@ -37,7 +37,7 @@ func TestGetImagePath(t *testing.T) { recipeInfo.RecipePath = "testdata/Recipe3.cook" recipeInfo.RecipeName = "Recipe3" - imagePath, err = GetImagePath(recipeInfo) + _, err = GetImagePath(recipeInfo) require.Error(t, err) }