diff --git a/tail_test.go b/tail_test.go index 4ac6e09..609303b 100644 --- a/tail_test.go +++ b/tail_test.go @@ -103,7 +103,7 @@ func TestStopAtEOF(t *testing.T) { // read "hello" line := <-tail.Lines if line.Text != "hello" { - t.Errorf("Expected to get 'hello', got '%s' instead", line) + t.Errorf("Expected to get 'hello', got '%s' instead", line.Text) } tailTest.VerifyTailOutput(tail, []string{"there", "world"}, false)