Lines Matching refs:execute
69 call assert_equal("\nhello", execute(':echomsg "hello"'))
70 call assert_equal("\n", execute(':echomsg ""'))
71 call assert_equal("\n12345", execute(':echomsg 12345'))
72 call assert_equal("\n[]", execute(':echomsg []'))
73 call assert_equal("\n[1, 2, 3]", execute(':echomsg [1, 2, 3]'))
74 call assert_equal("\n[1, 2, []]", execute(':echomsg [1, 2, test_null_list()]'))
75 call assert_equal("\n{}", execute(':echomsg {}'))
76 call assert_equal("\n{'a': 1, 'b': 2}", execute(':echomsg {"a": 1, "b": 2}'))
78 call assert_equal("\n1.23", execute(':echomsg 1.23'))
80 call assert_match("function('<lambda>\\d*')", execute(':echomsg {-> 1234}'))
85 call assert_equal("\nIgNoRe hello", execute(':echoerr "IgNoRe hello"'))
86 call assert_equal("\n12345 IgNoRe", execute(':echoerr 12345 "IgNoRe"'))
87 call assert_equal("\n[1, 2, 'IgNoRe']", execute(':echoerr [1, 2, "IgNoRe"]'))
88 call assert_equal("\n{'IgNoRe': 2, 'a': 1}", execute(':echoerr {"a": 1, "IgNoRe": 2}'))
90 call assert_equal("\n1.23 IgNoRe", execute(':echoerr 1.23 "IgNoRe"'))
93 call assert_match("function('<lambda>\\d*')", execute(':echoerr {-> 1234}'))