We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37e88b5 commit f3f5a78Copy full SHA for f3f5a78
1 file changed
core/filtermaps/math_test.go
@@ -41,9 +41,7 @@ func TestSingleMatch(t *testing.T) {
41
t.Fatalf("Invalid length of matches (got %d, expected 1)", len(matches))
42
}
43
if matches[0] != lvIndex {
44
- if len(matches) != 1 {
45
- t.Fatalf("Incorrect match returned (got %d, expected %d)", matches[0], lvIndex)
46
- }
+ t.Fatalf("Incorrect match returned (got %d, expected %d)", matches[0], lvIndex)
47
48
49
0 commit comments