Lines Matching refs:expected
61 \ "[string \"vim chunk\"]:1: bad argument #1 to 'format' (string expected, got no value)")
119 \ "[string \"vim chunk\"]:1: bad argument #1 to 'eval' (string expected, got nil)")
121 \ "[string \"vim chunk\"]:1: bad argument #1 to 'eval' (string expected, got boolean)")
123 \ "[string \"vim chunk\"]:1: bad argument #1 to 'eval' (string expected, got table)")
125 \ "[string \"vim chunk\"]:1: bad argument #1 to 'eval' (string expected, got function)")
127 \ "[string \"vim chunk\"]:1: bad argument #1 to 'eval' (string expected, got userdata)")
479 call assert_fails('lua vim.list(1)', '[string "vim chunk"]:1: table expected, got number')
480 call assert_fails('lua vim.list("x")', '[string "vim chunk"]:1: table expected, got string')
481 call assert_fails('lua vim.list(print)', '[string "vim chunk"]:1: table expected, got function')
482 call assert_fails('lua vim.list(true)', '[string "vim chunk"]:1: table expected, got boolean')
602 call assert_fails('lua vim.dict(1)', '[string "vim chunk"]:1: table expected, got number')
603 call assert_fails('lua vim.dict("x")', '[string "vim chunk"]:1: table expected, got string')
604 call assert_fails('lua vim.dict(print)', '[string "vim chunk"]:1: table expected, got function')
605 call assert_fails('lua vim.dict(true)', '[string "vim chunk"]:1: table expected, got boolean')
637 call assert_fails('lua b:add(nil)', '[string "vim chunk"]:1: string expected, got nil')
638 call assert_fails('lua b:add(true)', '[string "vim chunk"]:1: string expected, got boolean')
639 call assert_fails('lua b:add({})', '[string "vim chunk"]:1: string expected, got table')
666 \ '[string "vim chunk"]:1: string expected, got table')
687 \ "[string \"vim chunk\"]:1: bad argument #1 to 'funcref' (string expected, got nil)")