Home
last modified time | relevance | path

Searched refs:hello (Results 1 – 25 of 71) sorted by relevance

123

/vim-8.2.3635/src/testdir/
H A Dtest_channel.vim1959 call s:test_list_args('import sys;sys.stdout.write("hello world")', "hello world", 0)
1974 call s:test_list_args('print("hello\nworld")', "hello\nworld", 1)
1975 call s:test_list_args('print(''hello\nworld'')', "hello\nworld", 1)
1976 call s:test_list_args('print(''hello"world'')', "hello\"world", 1)
1977 call s:test_list_args('print(''hello^world'')', "hello^world", 1)
1978 call s:test_list_args('print("hello&&world")', "hello&&world", 1)
1979 call s:test_list_args('print(''hello\\world'')', "hello\\world", 1)
1980 call s:test_list_args('print(''hello\\\\world'')', "hello\\\\world", 1)
1981 call s:test_list_args('print("hello\"world\"")', 'hello"world"', 1)
1982 call s:test_list_args('print("hello\tworld")', "hello\tworld", 1)
[all …]
H A Dtest_restricted.vim14 call assert_fails('luado return "hello"', 'E981:')
28 " call assert_fails('perldo system("hello")', 'E981:')
34 call assert_fails('python print "hello"', 'E981:')
35 call assert_fails('pydo return "hello"', 'E981:')
41 call assert_fails('py3 print "hello"', 'E981:')
42 call assert_fails('py3do return "hello"', 'E981:')
H A Dtest_partial.vim66 let dict = {'name': 'hello'}
69 call assert_equal("hello/foo/bar", Cb())
73 call assert_equal("hello/foo/xxx", Cb("xxx"))
77 call assert_equal("hello/ttt/xxx", Cb("ttt", "xxx"))
81 call assert_equal("hello/xxx/yyy", Cb("xxx", "yyy"))
85 call assert_equal({"foo": "hello/foo/1", "bar": "hello/bar/2"}, map({"foo": 1, "bar": 2}, Cb))
87 let dict = {"tr": function('tr', ['hello', 'h', 'H'])}
314 let dict = {'name': 'hello'}
330 let P = function('substitute', ['hello there', 'there'])
H A Dtest_const.vim21 hello
88 hello
208 let x = 'hello'
278 call assert_fails('const $FOO = "hello"', 'E996:')
279 call assert_fails('const @a = "hello"', 'E996:')
318 call assert_fails("let d['foo'] = 'hello'", 'E741:')
319 call assert_fails("let d.foo = 'hello'", 'E741:')
320 call assert_fails("let d['bar'] = 'hello'", 'E741:')
H A Dtest_prompt_buffer.vim60 call term_sendkeys(buf, "hello\<CR>")
61 call WaitForAssert({-> assert_equal('cmd: hello', term_getline(buf, 1))})
62 call WaitForAssert({-> assert_equal('Command: "hello"', term_getline(buf, 2))})
63 call WaitForAssert({-> assert_equal('Result: "hello"', term_getline(buf, 3))})
81 call term_sendkeys(buf, "hello" . bs . bs)
H A Dtest_matchfuzzy.vim98 call assert_equal([['hello', 'hello world hello world'],
100 \ matchfuzzypos(['hello world hello world', 'hello', 'world'], 'hello'))
H A Dtest_user_func.vim206 exe "func Xtest()\necho 'hello'\nendfunc\nlet done = 'yes'"
212 exe "func Xtest()\necho 'hello'\nendfunc|let done = 'yes'"
219 exe "func Xtest()\necho 'hello'\nendfunc\n"
224 exe "func Xtest()\necho 'hello'\nendfunc \" garbage"
229 exe "func Xtest()\necho 'hello'\nendfunc garbage"
247 echo 'hello'
H A Dtest_functions.vim728 call assert_equal('hello', tr('hello', 'xy', 'ab'))
1043 call assert_equal(0, 'hello'->stridx(''))
1044 call assert_equal(-1, stridx('hello', 'L'))
1051 call assert_equal(2, stridx('hello', 'll'))
1052 call assert_equal(-1, stridx('hello', 'hello world'))
1060 call assert_equal(5, strridx('hello', ''))
1061 call assert_equal(-1, strridx('hello', 'L'))
1070 call assert_equal(-1, strridx('hello', 'hello world'))
1869 sandbox let F = {-> 'hello'}
1870 call assert_equal('hello', F())
[all …]
H A Dtest_popupwin.vim1113 call setline(1, 'hello')
1133 call assert_equal('hello', line)
1155 call setline(1, 'hello')
1172 call assert_equal('hello', line)
1187 call assert_equal('hello', line)
1201 call setline(1, 'hello')
1215 call assert_equal('hello ', line)
1235 let winid = popup_create('hello', #{
1290 let winid = popup_create('hello', #{
1317 let winid = popup_create('hello', {})
[all …]
H A Dtest_changedtick.vim9 call setline(1, 'hello')
77 call setline(1, 'hello')
H A Dtest_terminal.vim144 term echo hello
782 call setline(1, ['print("hello")'])
789 call WaitFor({-> getline('$') =~ 'hello'})
790 call assert_equal('hello', getline('$'))
800 call setline(1, ['print("hello")'])
812 call setline(1, ['print("hello")'])
819 call WaitFor({-> getline('$') =~ 'hello'})
820 call assert_equal('hello', getline('$'))
1727 call assert_equal(['hello', 123], g:called_arg)
1737 call assert_equal(['hello', 123], g:called_arg)
[all …]
H A Dtest_messages.vim14 let arr = map(range(10), '"hello" . v:val')
69 call assert_equal("\nhello", execute(':echomsg "hello"'))
85 call assert_equal("\nIgNoRe hello", execute(':echoerr "IgNoRe hello"'))
H A Dtest_lua.vim137 \ ['hello', {->'world'}]))
475 lua t = {3.14, 'hello', false, true, say = 'hi'}
476 call assert_equal([3.14, 'hello', v:false, v:true], luaeval('vim.list(t)'))
749 call assert_equal("hello from lua", luaeval("require('testluaplugin').hello()"))
753 let l:message = a:Concat("hello", "vim")
769 call assert_equal("hello vim", luaeval("pass_lua_callback_to_vim_from_lua_result"))
777 …back')(setmetatable({ space = ' '}, { __call = function(tbl, msg) return 'hello' .. tbl.space .. m…
778 call assert_equal("hello world", result)
813 call writefile(["str = 'hello'", "num = 123" ], 'Xlua_file')
817 call assert_equal('hello', luaeval('str'))
H A Dtest_listlbr_utf8.vim264 \ 'hello'])
278 \ '中hello ']
H A Dtest_shell.vim87 r !echo hello
88 call assert_equal('hello', substitute(getline(2), '\W', '', 'g'), e[0])
H A Dtest_vim9_func.vim259 echo 'hello'
262 echo 'hello'
665 echo 'hello'
1792 echo 'hello'
2297 var x = 'hello'
2302 assert_equal('hello', g:Myclosure())
2409 assert_equal('hello-there', F('hello')('-')('there'))
2562 legacy echo {x -> 'hello ' .. x}('foo')
2565 echo {x -> 'hello ' .. x}('foo')
H A Dtest_source.vim47 call assert_equal('hello', getline(1))
H A Dtest_syntax.vim93 call setline(1, ['hello', 'there'])
96 setl filetype=hello
97 au FileType hello let g:gotit = 1
101 call assert_equal('hello', &filetype)
H A Dtest_timers.vim230 call feedkeys("hello\<CR>", 'nt')
243 call assert_equal('hello', g:val)
H A Dtest_profile.vim398 \ 'echo "hello',
422 call assert_match(' 1 0.\d\+ echo "hello', lines[6])
572 \ .. "echo 'hello'\<CR>"
/vim-8.2.3635/src/testdir/testluaplugin/lua/testluaplugin/
H A Dinit.lua1 local hello = require('testluaplugin/hello').hello
4 hello = hello
H A Dhello.lua1 local function hello() function
6 hello = hello
/vim-8.2.3635/runtime/indent/testdir/
H A Dmatlab.ok22 disp hello
31 disp hello
H A Dmatlab.in22 disp hello
31 disp hello
/vim-8.2.3635/src/libvterm/t/
H A D02parser.test6 PUSH "hello"

123