mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-01 17:09:18 -04:00
Fixed test deadline unit test
This commit is contained in:
parent
ecccb24cb7
commit
93c0eebfa1
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue