blob: d4165f00081b3ebd94459bf5fa9ae42458abcf44 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
" Tests for Vim buffer
func Test_badd_options()
new SomeNewBuffer
setlocal cole=3
wincmd p
badd SomeNewBuffer
new SomeNewBuffer
call assert_equal(3, &cole)
close
close
bwipe! SomeNewBuffer
endfunc
func Test_balt()
new SomeNewBuffer
balt +3 OtherBuffer
e #
call assert_equal('OtherBuffer', bufname())
endfunc
" vim: shiftwidth=2 sts=2 expandtab
|