Skip to content

Commit 93c0eeb

Browse files
sayborastpounds
authored andcommitted
Fixed test deadline unit test
1 parent ecccb24 commit 93c0eeb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/run_test.go

+1-2
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)