mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-10 20:07:29 +00:00
core/filtermaps: remove dead condition check (#34695)
already check on line 40 before.
This commit is contained in:
parent
58557cb463
commit
ea5448814f
1 changed files with 1 additions and 3 deletions
|
|
@ -41,9 +41,7 @@ func TestSingleMatch(t *testing.T) {
|
|||
t.Fatalf("Invalid length of matches (got %d, expected 1)", len(matches))
|
||||
}
|
||||
if matches[0] != lvIndex {
|
||||
if len(matches) != 1 {
|
||||
t.Fatalf("Incorrect match returned (got %d, expected %d)", matches[0], lvIndex)
|
||||
}
|
||||
t.Fatalf("Incorrect match returned (got %d, expected %d)", matches[0], lvIndex)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue