From ec84dc861ffd9b56c623b1d032cd41e1c294e486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Lipt=C3=A1k?= Date: Tue, 23 Feb 2021 17:04:07 -0500 Subject: [PATCH] Correct typo (#1425) --- server/events/command_runner_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/events/command_runner_test.go b/server/events/command_runner_test.go index 08e3566c4..6ca31c156 100644 --- a/server/events/command_runner_test.go +++ b/server/events/command_runner_test.go @@ -651,7 +651,7 @@ func TestRunCommentCommand_DrainOngoing(t *testing.T) { } func TestRunCommentCommand_DrainNotOngoing(t *testing.T) { - t.Log("if drain is not ongoing then remove ongoing operation must be called even if panic occured") + t.Log("if drain is not ongoing then remove ongoing operation must be called even if panic occurred") setup(t) When(githubGetter.GetPullRequest(fixtures.GithubRepo, fixtures.Pull.Num)).ThenPanic("panic test - if you're seeing this in a test failure this isn't the failing test") ch.RunCommentCommand(fixtures.GithubRepo, &fixtures.GithubRepo, nil, fixtures.User, fixtures.Pull.Num, nil) @@ -668,7 +668,7 @@ func TestRunAutoplanCommand_DrainOngoing(t *testing.T) { } func TestRunAutoplanCommand_DrainNotOngoing(t *testing.T) { - t.Log("if drain is not ongoing then remove ongoing operation must be called even if panic occured") + t.Log("if drain is not ongoing then remove ongoing operation must be called even if panic occurred") setup(t) fixtures.Pull.BaseRepo = fixtures.GithubRepo When(projectCommandBuilder.BuildAutoplanCommands(matchers.AnyPtrToEventsCommandContext())).ThenPanic("panic test - if you're seeing this in a test failure this isn't the failing test")