Skip to content

Commit

Permalink
Integrate reviewer feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbertJordan committed Sep 16, 2024
1 parent d0ff21e commit b3bb90f
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions go/integration_test/interpreter/test_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,13 @@ func getAllInterpreterVariantsForTests() []string {
)
}

// skipTestForVariant returns true, if test should be skipped for variant
// skipTestForVariant returns true, if the given test should be skipped for
// the given variant.
func skipTestForVariant(testName string, variant string) bool {
disabledTest := map[string]map[string]bool{
disabledTest := map[string][]string{
"TestNoReturnDataForCreate": {
"evmone": true,
"evmone-basic": true,
"evmone-advanced": true,
"evmone", "evmone-basic", "evmone-advanced",
},
}
if disabled, found := disabledTest[testName][variant]; found && disabled {
return true
}
return false
return slices.Contains(disabledTest[testName], variant)
}

0 comments on commit b3bb90f

Please sign in to comment.