mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
small nit
This commit is contained in:
parent
3060ae1c2f
commit
6b05f83083
1 changed files with 1 additions and 2 deletions
|
|
@ -118,8 +118,7 @@ type stateTestCase struct {
|
||||||
|
|
||||||
// collectMatchedSubtests returns test cases which match against provided filtering CLI parameters
|
// collectMatchedSubtests returns test cases which match against provided filtering CLI parameters
|
||||||
func collectMatchedSubtests(ctx *cli.Context, testsByName map[string]tests.StateTest) []stateTestCase {
|
func collectMatchedSubtests(ctx *cli.Context, testsByName map[string]tests.StateTest) []stateTestCase {
|
||||||
res := []stateTestCase{}
|
var res []stateTestCase
|
||||||
|
|
||||||
subtestName := ctx.String(TestNameFlag.Name)
|
subtestName := ctx.String(TestNameFlag.Name)
|
||||||
if subtestName != "" {
|
if subtestName != "" {
|
||||||
if subtest, ok := testsByName[subtestName]; ok {
|
if subtest, ok := testsByName[subtestName]; ok {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue