diff --git a/tail_test.go b/tail_test.go index 6782c7a..2b97a96 100644 --- a/tail_test.go +++ b/tail_test.go @@ -259,7 +259,7 @@ func TestReSeekPolling(_t *testing.T) { func TestRateLimiting(_t *testing.T) { t := NewTailTest("rate-limiting", _t) - t.CreateFile("test.txt", "hello\nworld\nagain\n") + t.CreateFile("test.txt", "hello\nworld\nagain\nextra\n") config := Config{ Follow: true, LimitRate: 2}