Skip to content

Commit 6ab79c8

Browse files
committed
Update the test case
1 parent 66847d9 commit 6ab79c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/run_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ func TestSymlinkLoop(t *testing.T) {
4444
func TestDeadline(t *testing.T) {
4545
testshared.NewLintRunner(t).Run("--deadline=1ms", getProjectRoot()).
4646
ExpectExitCode(exitcodes.Timeout).
47-
ExpectOutputContains(`Timeout exceeded: try increase it by passing --timeout option`).
48-
ExpectOutputContains(`Flag --deadline has been deprecated, flag will be removed soon, please, use .golangci.yml config`)
47+
ExpectOutputContains(`Timeout exceeded: try increase it by passing --timeout option`)
4948
}
5049

5150
func TestTimeout(t *testing.T) {

0 commit comments

Comments
 (0)