diff --git a/tests/state_test.go b/tests/state_test.go index 848e79dd31..d35912a349 100644 --- a/tests/state_test.go +++ b/tests/state_test.go @@ -169,7 +169,7 @@ func TestState(t *testing.T) { "CALLBlake2f_MaxRounds", } - folders, err := listFolders([]string{stateTests}, ".json") + folders, err := listFolders([]string{stateTests}) if err != nil { t.Fatal(err) } @@ -211,7 +211,7 @@ func TestState(t *testing.T) { for fork, postState := range tc.Post { forks, exists := Forks[fork] if !exists { - //t.Logf("%s fork is not supported, skipping test case.", fork) + t.Logf("%s fork is not supported, skipping test case.", fork) continue } diff --git a/tests/state_test_util.go b/tests/state_test_util.go index ded5661f6f..62aac545bc 100644 --- a/tests/state_test_util.go +++ b/tests/state_test_util.go @@ -599,7 +599,7 @@ func contains(l []string, name string) bool { return false } -func listFolders(paths []string, extensions ...string) ([]string, error) { +func listFolders(paths []string) ([]string, error) { var folders []string for _, rootPath := range paths {