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) {