Skip to content

Commit ac1c302

Browse files
committed
(mini.clue tests) Relax test for <C-x> in Insert mode.
1 parent 751d565 commit ac1c302

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_clue.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -2251,7 +2251,8 @@ T['Reproducing keys']['works for builtin keymaps in Insert mode'] = function()
22512251

22522252
eq(child.fn.mode(), 'i')
22532253
local complete_words = vim.tbl_map(function(x) return x.word end, child.fn.complete_info().items)
2254-
eq(complete_words, { 'aa aa', 'bb bb' })
2254+
eq(vim.tbl_contains(complete_words, 'aa aa'), true)
2255+
eq(vim.tbl_contains(complete_words, 'bb bb'), true)
22552256
end
22562257

22572258
T['Reproducing keys']['works for user keymaps in Insert mode'] = function()

0 commit comments

Comments
 (0)