From de27e252a708ab658643299cacc001cd1e1bf88b Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 29 May 2013 15:08:10 -0700 Subject: [PATCH] truncate tests should not use ReOpen --- tail_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tail_test.go b/tail_test.go index 7b8eb2e..7535761 100644 --- a/tail_test.go +++ b/tail_test.go @@ -143,7 +143,7 @@ func _TestReSeek(_t *testing.T, poll bool) { t.CreateFile("test.txt", "a really long string goes here\nhello\nworld\n") tail := t.StartTail( "test.txt", - Config{Follow: true, ReOpen: true, Poll: poll, Location: -1}) + Config{Follow: true, ReOpen: false, Poll: poll, Location: -1}) go t.VerifyTailOutput(tail, []string{ "a really long string goes here", "hello", "world", "h311o", "w0r1d", "endofworld"})