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() {
446446func (e * Executor ) setupExitCode (ctx context.Context ) {
447447 if ctx .Err () != nil {
448448 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" )
450450 return
451451 }
452452
Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ func TestSymlinkLoop(t *testing.T) {
4444func 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` )
47+ ExpectOutputContains (`Timeout exceeded: try increasing it by passing --timeout option` )
4848}
4949
5050func TestTimeout (t * testing.T ) {
5151 testshared .NewLintRunner (t ).Run ("--timeout=1ms" , getProjectRoot ()).
5252 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` )
5454}
5555
5656func TestTimeoutInConfig (t * testing.T ) {
@@ -85,7 +85,7 @@ func TestTimeoutInConfig(t *testing.T) {
8585 for _ , c := range cases {
8686 // Run with disallowed option set only in config
8787 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` )
8989 }
9090}
9191
You can’t perform that action at this time.
0 commit comments