]> granicus.if.org Git - vim/commitdiff
Add missing test file.
authorBram Moolenaar <Bram@vim.org>
Mon, 18 Apr 2016 18:21:12 +0000 (20:21 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 18 Apr 2016 18:21:12 +0000 (20:21 +0200)
src/testdir/test_tagjump.vim [new file with mode: 0644]

diff --git a/src/testdir/test_tagjump.vim b/src/testdir/test_tagjump.vim
new file mode 100644 (file)
index 0000000..d8a333f
--- /dev/null
@@ -0,0 +1,9 @@
+" Tests for tagjump (tags and special searches)
+
+" SEGV occurs in older versions.  (At least 7.4.1748 or older)
+func Test_ptag_with_notagstack()
+  set notagstack
+  call assert_fails('ptag does_not_exist_tag_name', 'E426')
+  set tagstack&vim
+endfunc
+" vim: sw=2 et