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 d0a01df793..41f1d1cc30 100644 --- a/tests/state_test_util.go +++ b/tests/state_test_util.go @@ -607,7 +607,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 {