Skip to content

Commit

Permalink
Cleanup flag
Browse files Browse the repository at this point in the history
  • Loading branch information
chasefleming committed Mar 13, 2024
1 parent 4a6cd2c commit 1b16948
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/super/generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ func TestGenerateNewContractSkipTests(t *testing.T) {

generateFlags.SkipTests = true

t.Cleanup(func() {
generateFlags.SkipTests = false
})

// Test contract generation
_, err := generateNew([]string{"TestContract"}, "contract", logger, state)
assert.NoError(t, err, "Failed to generate contract")
Expand Down

0 comments on commit 1b16948

Please sign in to comment.