mirror of
https://github.com/govim/govim.git
synced 2026-06-23 07:34:54 +00:00
16 lines
240 B
Plaintext
16 lines
240 B
Plaintext
# Test that basic range functions work
|
|
|
|
vim ex 'r input | 0d_'
|
|
vim ex 'w output'
|
|
cmp output input
|
|
vim ex '1,2call Echo()'
|
|
! stdout .+
|
|
! stderr .+
|
|
vim expr 'v:statusmsg'
|
|
stdout '^\Q"Hello\nGophers"\E$'
|
|
! stderr .+
|
|
|
|
-- input --
|
|
Hello
|
|
Gophers
|