Skip to content

Commit

Permalink
ensure the spec exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarom Swisa authored and Yarom Swisa committed Nov 26, 2024
1 parent 378b41d commit 5c3e145
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/spec/keeper/spec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,8 @@ func TestCookbookSpecs(t *testing.T) {
}

for _, specName := range sortedSpecs {
sp := specProposals[specName]
sp, found := specProposals[specName]
require.True(t, found)

ts.setSpec(sp)
fullspec, err := ts.expandSpec(sp)
Expand Down

0 comments on commit 5c3e145

Please sign in to comment.