fix: Update text in logout tests (#2851)

This fixes CI!
This commit is contained in:
Kyle Carberry
2022-07-07 21:46:31 -05:00
committed by GitHub
parent 4f1e9dae27
commit dc58d1b734
+2 -2
View File
@@ -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 <url>'.")
<-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
})