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:
@@ -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
|
||||
|
Reference in New Issue
Block a user