File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ func (e *Executor) setTimeoutToDeadlineIfOnlyDeadlineIsSet() {
446
446
func (e * Executor ) setupExitCode (ctx context.Context ) {
447
447
if ctx .Err () != nil {
448
448
e .exitCode = exitcodes .Timeout
449
- e .log .Errorf ("Timeout exceeded: try increase it by passing --timeout option" )
449
+ e .log .Errorf ("Timeout exceeded: try increasing it by passing --timeout option" )
450
450
return
451
451
}
452
452
Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ func TestSymlinkLoop(t *testing.T) {
44
44
func TestDeadline (t * testing.T ) {
45
45
testshared .NewLintRunner (t ).Run ("--deadline=1ms" , getProjectRoot ()).
46
46
ExpectExitCode (exitcodes .Timeout ).
47
- ExpectOutputContains (`Timeout exceeded: try increase it by passing --timeout option` )
47
+ ExpectOutputContains (`Timeout exceeded: try increasing it by passing --timeout option` )
48
48
}
49
49
50
50
func TestTimeout (t * testing.T ) {
51
51
testshared .NewLintRunner (t ).Run ("--timeout=1ms" , getProjectRoot ()).
52
52
ExpectExitCode (exitcodes .Timeout ).
53
- ExpectOutputContains (`Timeout exceeded: try increase it by passing --timeout option` )
53
+ ExpectOutputContains (`Timeout exceeded: try increasing it by passing --timeout option` )
54
54
}
55
55
56
56
func TestTimeoutInConfig (t * testing.T ) {
@@ -85,7 +85,7 @@ func TestTimeoutInConfig(t *testing.T) {
85
85
for _ , c := range cases {
86
86
// Run with disallowed option set only in config
87
87
r .RunWithYamlConfig (c .cfg , withCommonRunArgs (minimalPkg )... ).ExpectExitCode (exitcodes .Timeout ).
88
- ExpectOutputContains (`Timeout exceeded: try increase it by passing --timeout option` )
88
+ ExpectOutputContains (`Timeout exceeded: try increasing it by passing --timeout option` )
89
89
}
90
90
}
91
91
You can’t perform that action at this time.
0 commit comments