From 93c0eebfa1c822eace36bc14d06b7f92819a70ba Mon Sep 17 00:00:00 2001 From: sayboras Date: Thu, 7 Nov 2019 23:42:30 +1100 Subject: [PATCH] Fixed test deadline unit test --- test/run_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/run_test.go b/test/run_test.go index f9f40e20..256c99a2 100644 --- a/test/run_test.go +++ b/test/run_test.go @@ -44,8 +44,7 @@ func TestSymlinkLoop(t *testing.T) { func TestDeadline(t *testing.T) { testshared.NewLintRunner(t).Run("--deadline=1ms", getProjectRoot()). ExpectExitCode(exitcodes.Timeout). - ExpectOutputContains(`Timeout exceeded: try increase it by passing --timeout option`). - ExpectOutputContains(`Flag --deadline has been deprecated, flag will be removed soon, please, use .golangci.yml config`) + ExpectOutputContains(`Timeout exceeded: try increase it by passing --timeout option`) } func TestTimeout(t *testing.T) {