Skip to content

Commit 3fd7b50

Browse files
committed
test: fix failing test
1 parent 31a5532 commit 3fd7b50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_auth.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ T["auth()"]["auth issue replication"] = function()
7171
local messages = ""
7272
local function has_passed()
7373
messages = vim.api.nvim_exec("messages", { output = true }) or ""
74-
return string.find(messages, ".*Online.*Enabled.*") ~= nil
74+
return string.find(messages, ".*Online.*") ~= nil
7575
end
7676
7777
vim.wait(5000, function()
@@ -81,7 +81,7 @@ T["auth()"]["auth issue replication"] = function()
8181
return messages
8282
]])
8383

84-
u.expect_match(messages, ".*Online.*Enabled.*")
84+
u.expect_match(messages, ".*Online.*")
8585
end
8686

8787
T["auth()"]["is_authenticated when not authed returns false"] = function()

0 commit comments

Comments
 (0)