From 6b05f830834159ef4f9588f5ade486379fca38fe Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Tue, 24 Sep 2024 17:43:18 +0700 Subject: [PATCH] small nit --- cmd/evm/staterunner.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/evm/staterunner.go b/cmd/evm/staterunner.go index fb036222ff..29f31845fe 100644 --- a/cmd/evm/staterunner.go +++ b/cmd/evm/staterunner.go @@ -118,8 +118,7 @@ type stateTestCase struct { // collectMatchedSubtests returns test cases which match against provided filtering CLI parameters func collectMatchedSubtests(ctx *cli.Context, testsByName map[string]tests.StateTest) []stateTestCase { - res := []stateTestCase{} - + var res []stateTestCase subtestName := ctx.String(TestNameFlag.Name) if subtestName != "" { if subtest, ok := testsByName[subtestName]; ok {