From 97747ea0f3178f7f5890512d483fdccaa82846b0 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 9 Oct 2021 21:10:29 +0300 Subject: vetting and linting and some code restyling --- integrationtests/dtail_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'integrationtests/dtail_test.go') diff --git a/integrationtests/dtail_test.go b/integrationtests/dtail_test.go index 9971f1a..36eadc0 100644 --- a/integrationtests/dtail_test.go +++ b/integrationtests/dtail_test.go @@ -8,8 +8,9 @@ import ( func TestDTailColorTable(t *testing.T) { stdoutFile := "dtailcolortable.stdout.tmp" expectedStdoutFile := "dtailcolortable.expected" + args := []string{"-colorTable"} - if _, err := runCommand(t, "../dtail", []string{"-colorTable"}, stdoutFile); err != nil { + if _, err := runCommand(t, "../dtail", args, stdoutFile); err != nil { t.Error(err) return } @@ -17,6 +18,5 @@ func TestDTailColorTable(t *testing.T) { t.Error(err) return } - os.Remove(stdoutFile) } -- cgit v1.2.3