Lines Matching refs:getline

12   call assert_equal('vim ', getline('$'))
81 call assert_equal('TEST2: CTRL-C |<ctrl-c>A|', getline('$'))
90 call assert_equal('vmap works', getline('$'))
103 call assert_equal('b', getline('.'))
105 call assert_equal('a', getline('.'))
111 call assert_equal('c', getline('.'))
117 call assert_equal('a', getline('.'))
142 call assert_equal('+', getline('$'))
145 call assert_equal('+', getline('$'))
153 call assert_equal('bbbb', getline('$'))
155 call assert_equal('bbbb', getline('$'))
159 call assert_equal('cccc', getline('$'))
162 call assert_equal('bbbb', getline('$'))
167 call assert_equal('+', getline('$'))
180 call assert_equal(['fooc d', 'fooc d'], getline(line('$') - 1, line('$')))
190 call assert_equal('Test1: text with a (here some more text)', getline(line('$') - 2))
191 call assert_equal('Test1: text with a (here some more text)', getline(line('$') - 1))
195 call assert_equal('', getline(line('$') - 2))
196 call assert_equal('Test2: text wit a (here some more text [und undo])', getline(line('$') - 1))
207 call assert_equal(['PREFIXfoo', 'foobar', '', 'PREFIXfoo'], getline(1,'$'))
211 call assert_equal(['foo', 'foobar', '', 'foo'], getline(1,'$'))
219 call assert_equal(['PREFIXPREFIX', ' foo', 'foobar', '', 'foo'], getline(1,'$'))
229 call assert_equal('new line here', getline(line('$') - 3))
230 call assert_equal('Test3: text with a (parenthesis here', getline(line('$') - 2))
231 call assert_equal('new line here', getline(line('$') - 1))
238 call assert_equal("-foo-", getline('$'))
254 call assert_equal("bar ", getline(1))
267 let g:line = getline(1)
329 call assert_equal('~~~~~~~', getline('$'))
332 call assert_equal(['~~~~~~~', ''], getline(1,'$'))
380 call assert_equal(['aaa -- eee'], getline(1, '$'))
387 call assert_equal(['aaa -- eee'], getline(1, '$'))
394 call assert_equal([''], getline(1, '$'))
401 call assert_equal(['aaabbb', 'x', 'dddeee'], getline(1, '$'))
509 call assert_equal('some wrd', getline(2))
601 call assert_equal("<F12>", getline(1))
603 call assert_equal("Blue", getline(1))
607 call assert_equal("Green", getline(1))
609 call assert_equal("<F12>", getline(1))
711 call assert_equal('the ', getline(1))
718 call assert_equal('', getline(1))
866 call assert_equal('the<F2>', getline(1))
953 call assert_equal('abc', getline('.'))
958 call assert_equal('two', getline('.'))
964 call assert_equal("onexxx\ttwo", getline('.'))
1084 call assert_equal('abc', getline(1))
1087 noremap ,a <Cmd>call feedkeys("aalpha") \| let g:a = getline(2)<CR>
1094 call assert_equal(['some short lines', 'of alphatest text'], getline(1, '$'))
1098 noremap ,b <Cmd>call feedkeys("abeta", 'x') \| let g:b = getline(2)<CR>
1119 call assert_equal(['some short lines', 'aa', 'xx', 'of test text'], getline(1, '$'))
1124 call assert_equal(['some short lines', 'aa', 'xx', 'of test text'], getline(1, '$'))
1134 call assert_equal(['', '0'], getline(1, '$'))
1138 call assert_equal(['', '4', '3', '2' ,'1', '0'], getline(1, '$'))
1177 call assert_equal(['some short lines', 'of new test text'], getline(1, '$'))
1235 call assert_equal(['some short lines', 'of new test text'], getline(1, '$'))
1251 call assert_equal(['lines', 'of test text'], getline(1, '$'))
1257 call assert_equal(['test text'], getline(1, '$'))
1263 call assert_equal(['some short lines', 'of test text'], getline(1, '$'))
1267 call assert_equal(['some short lines', 'of test text'], getline(1, '$'))
1270 call assert_equal(['soest text'], getline(1, '$'))
1275 call assert_equal(['soccest text'], getline(1, '$'))
1289 call assert_equal(['indeed some short little lines', 'of test text'], getline(1, '$'))
1291 call assert_equal(['indeed some short little 2 lines', 'of test text'], getline(1, '$'))
1296 call assert_equal(['indeed some short little 2 lines', 'of stuff test text'], getline(1, '$'))
1306 call assert_equal('in bar deed some short little 2 lines', getline(1))
1312 call assert_equal('vimfoo bar', getline(1))
1316 call assert_equal('vimfoo barbc', getline(1))
1330 call assert_equal(['some short lines', 'short '], getline(1, '$'))
1359 call assert_equal('some short new lines', getline(1))
1389 call assert_equal(['---', '---'], getline(1, 2))
1391 call assert_equal(['---', '---', '---'], getline(1, 3))
1393 call assert_equal(['---', '---', '---', '---'], getline(1, 4))
1407 call assert_equal('stmnore', getline(1))
1415 call assert_equal("bar…", getline(1))
1428 call assert_equal('#include', getline(1))
1430 call assert_equal('#enddef', getline(1))