Lines Matching refs:out
25 let out = system('wc -l', bufnr('%'))
27 let out = substitute(out, '^ *', '', '')
28 call assert_equal("3\n", out)
30 let out = systemlist('wc -l', bufnr('%'))
32 if out != ["3\r"]
34 if type(out) == v:t_list
35 let out[0] = substitute(out[0], '^ *', '', '')
37 call assert_equal(['3'], out)
42 let out = systemlist('cat', bufnr('%'))
43 call assert_equal(['asdf', "pw\<NL>er", 'xxxx'], out)
45 let out = systemlist('more.com', bufnr('%'))
46 call assert_equal(["asdf\r", "pw\r", "er\r", "xxxx\r"], out)
126 let out = 'echo 123'->system()
133 if out != "123 \n"
134 call assert_equal("123\n", out, msg)