From a999403d3a1c6b0b8774a4e87e0bf5d64f2b644d Mon Sep 17 00:00:00 2001
From: Daniel Helfand <helfand.4@gmail.com>
Date: Tue, 18 Feb 2020 11:42:58 -0500
Subject: [PATCH] change increase to increasing in timeout error

---
 pkg/commands/run.go | 2 +-
 test/run_test.go    | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pkg/commands/run.go b/pkg/commands/run.go
index b725e446..b306802a 100644
--- a/pkg/commands/run.go
+++ b/pkg/commands/run.go
@@ -446,7 +446,7 @@ func (e *Executor) setTimeoutToDeadlineIfOnlyDeadlineIsSet() {
 func (e *Executor) setupExitCode(ctx context.Context) {
 	if ctx.Err() != nil {
 		e.exitCode = exitcodes.Timeout
-		e.log.Errorf("Timeout exceeded: try increase it by passing --timeout option")
+		e.log.Errorf("Timeout exceeded: try increasing it by passing --timeout option")
 		return
 	}
 
diff --git a/test/run_test.go b/test/run_test.go
index 256c99a2..d86f6ec2 100644
--- a/test/run_test.go
+++ b/test/run_test.go
@@ -44,13 +44,13 @@ 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(`Timeout exceeded: try increasing it by passing --timeout option`)
 }
 
 func TestTimeout(t *testing.T) {
 	testshared.NewLintRunner(t).Run("--timeout=1ms", getProjectRoot()).
 		ExpectExitCode(exitcodes.Timeout).
-		ExpectOutputContains(`Timeout exceeded: try increase it by passing --timeout option`)
+		ExpectOutputContains(`Timeout exceeded: try increasing it by passing --timeout option`)
 }
 
 func TestTimeoutInConfig(t *testing.T) {
@@ -85,7 +85,7 @@ func TestTimeoutInConfig(t *testing.T) {
 	for _, c := range cases {
 		// Run with disallowed option set only in config
 		r.RunWithYamlConfig(c.cfg, withCommonRunArgs(minimalPkg)...).ExpectExitCode(exitcodes.Timeout).
-			ExpectOutputContains(`Timeout exceeded: try increase it by passing --timeout option`)
+			ExpectOutputContains(`Timeout exceeded: try increasing it by passing --timeout option`)
 	}
 }