From a2307d440ea4342879970b86aef6c4bee714b7af Mon Sep 17 00:00:00 2001 From: Goran Rojovic Date: Fri, 16 Feb 2024 16:07:22 +0100 Subject: [PATCH] small fixes --- tests/state_test.go | 4 ++-- tests/state_test_util.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 {