Skip to content

Commit

Permalink
Fix Composite literal uses unkeyed fields
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaswilde committed Apr 28, 2022
1 parent 2b19256 commit 466cfb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cook/recipe_info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ func TestGetImagePath(t *testing.T) {
func TestMergeRecipeData(t *testing.T) {
var recipeInfo RecipeDocumentationInfo
var recipeData = cooklang.Recipe{
make([]cooklang.Step, 0),
make(map[string]string),
Steps: make([]cooklang.Step, 0),
Metadata: make(map[string]string),
}
recipeInfo.RecipeName = "Recipe"
recipeInfo.ImagePath = "testdata/recipe.jpg"
Expand Down

0 comments on commit 466cfb0

Please sign in to comment.