summaryrefslogtreecommitdiff
path: root/internal/flood/flood_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/flood/flood_test.go')
-rw-r--r--internal/flood/flood_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/flood/flood_test.go b/internal/flood/flood_test.go
index c16da7c..a09a3c4 100644
--- a/internal/flood/flood_test.go
+++ b/internal/flood/flood_test.go
@@ -20,7 +20,7 @@ func TestFlood(t *testing.T) {
}
for _, tc := range testCases {
t.Run(tc.line, func(t *testing.T) {
- if Is(tc.line) != tc.ok {
+ if isFlood(tc.line) != tc.ok {
t.Errorf("want %v", tc.ok)
}
})