aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_buffer.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-02-11 22:37:38 -0500
committerGitHub <noreply@github.com>2021-02-11 22:37:38 -0500
commit52397aaa0d1e2d4ce1320c73761cf316fc608ffb (patch)
tree647d32b73f0c9568acade1ed6e4d4e023c9c871b /src/nvim/testdir/test_buffer.vim
parent393095c1c69de922530871f74869433327b247b6 (diff)
parent4bc82a59b6fc3927ce20c7cadb080ed1c9d6fce8 (diff)
downloadrneovim-52397aaa0d1e2d4ce1320c73761cf316fc608ffb.tar.gz
rneovim-52397aaa0d1e2d4ce1320c73761cf316fc608ffb.tar.bz2
rneovim-52397aaa0d1e2d4ce1320c73761cf316fc608ffb.zip
Merge pull request #13491 from seandewar/vim-8.2.1967
vim-patch:8.2.{1967,2058,2467}
Diffstat (limited to 'src/nvim/testdir/test_buffer.vim')
-rw-r--r--src/nvim/testdir/test_buffer.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_buffer.vim b/src/nvim/testdir/test_buffer.vim
new file mode 100644
index 0000000000..f455b6911f
--- /dev/null
+++ b/src/nvim/testdir/test_buffer.vim
@@ -0,0 +1,10 @@
+" Tests for Vim buffer
+
+func Test_balt()
+ new SomeNewBuffer
+ balt +3 OtherBuffer
+ e #
+ call assert_equal('OtherBuffer', bufname())
+endfunc
+
+" vim: shiftwidth=2 sts=2 expandtab