diff options
Diffstat (limited to 'integrationtests/dtail_test.go')
| -rw-r--r-- | integrationtests/dtail_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/integrationtests/dtail_test.go b/integrationtests/dtail_test.go index 0082843..64a32f1 100644 --- a/integrationtests/dtail_test.go +++ b/integrationtests/dtail_test.go @@ -134,17 +134,17 @@ func TestDTailColorTable(t *testing.T) { t.Log("Skipping") return } - stdoutFile := "dtailcolortable.stdout.tmp" - expectedStdoutFile := "dtailcolortable.expected" + outFile := "dtailcolortable.stdout.tmp" + expectedOutFile := "dtailcolortable.expected" - _, err := runCommand(context.TODO(), t, stdoutFile, "../dtail", "--colorTable") + _, err := runCommand(context.TODO(), t, outFile, "../dtail", "--colorTable") if err != nil { t.Error(err) return } - if err := compareFiles(t, stdoutFile, expectedStdoutFile); err != nil { + if err := compareFiles(t, outFile, expectedOutFile); err != nil { t.Error(err) return } - os.Remove(stdoutFile) + os.Remove(outFile) } |
