summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_blob.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-21 22:19:45 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-21 22:19:45 +0200
commitad48e6c1590842ab6d48e6caba3e9250734dae27 (patch)
treec81fe7bc66f2807223cdf76306dccf5b714f3650 /src/testdir/test_blob.vim
parentff06f283e3e4b3ec43012dd3b83f8454c98f6639 (diff)
patch 8.2.0615: regexp benchmark stest is old stylev8.2.0615
Problem: Regexp benchmark stest is old style. Solution: Make it a new style test. Fix using a NULL list. Add more tests. (Yegappan Lakshmanan, closes #5963)
Diffstat (limited to 'src/testdir/test_blob.vim')
-rw-r--r--src/testdir/test_blob.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_blob.vim b/src/testdir/test_blob.vim
index e2c332a8a6..a29e2e61d9 100644
--- a/src/testdir/test_blob.vim
+++ b/src/testdir/test_blob.vim
@@ -291,6 +291,7 @@ func Test_blob_index()
call assert_equal(3, index(0z11110111, 0x11, -2))
call assert_equal(0, index(0z11110111, 0x11, -10))
call assert_fails("echo index(0z11110111, 0x11, [])", 'E745:')
+ call assert_equal(-1, index(test_null_blob(), 1))
call assert_fails('call index("asdf", 0)', 'E897:')
endfunc