From ad48e6c1590842ab6d48e6caba3e9250734dae27 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 21 Apr 2020 22:19:45 +0200 Subject: patch 8.2.0615: regexp benchmark stest is old style 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) --- src/testdir/test_blob.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'src/testdir/test_blob.vim') 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 -- cgit v1.2.3