0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -04:00

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)
This commit is contained in:
Bram Moolenaar
2020-04-21 22:19:45 +02:00
parent ff06f283e3
commit ad48e6c159
19 changed files with 179 additions and 44 deletions

View File

@@ -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