From ea7cca173328083f1e6ba47f5bdfeb6f51dafd1f Mon Sep 17 00:00:00 2001 From: kylecarbs Date: Fri, 8 Jul 2022 02:33:34 +0000 Subject: [PATCH] fix: Update text in logout tests This fixes CI! --- cli/logout_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/logout_test.go b/cli/logout_test.go index 753dcba234bfe..a0184a565e6f0 100644 --- a/cli/logout_test.go +++ b/cli/logout_test.go @@ -41,7 +41,7 @@ func TestLogout(t *testing.T) { assert.NoFileExists(t, string(config.Session())) }() - pty.ExpectMatch("Are you sure you want to logout?") + pty.ExpectMatch("Are you sure you want to log out?") pty.WriteLine("yes") pty.ExpectMatch("You are no longer logged in. You can log in using 'coder login '.") <-logoutChan @@ -186,7 +186,7 @@ func TestLogout(t *testing.T) { assert.Regexp(t, errRegex, err.Error()) }() - pty.ExpectMatch("Are you sure you want to logout?") + pty.ExpectMatch("Are you sure you want to log out?") pty.WriteLine("yes") <-logoutChan })