test: ensure that subsequent line(s) are being skipped

This commit is contained in:
Sridhar Ratnakumar 2014-04-28 14:15:17 -07:00
parent d2a44130c2
commit fc42d757b5
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ func TestReSeekPolling(_t *testing.T) {
func TestRateLimiting(_t *testing.T) { func TestRateLimiting(_t *testing.T) {
t := NewTailTest("rate-limiting", _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{ config := Config{
Follow: true, Follow: true,
LimitRate: 2} LimitRate: 2}