mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
patch 8.1.1953: more functions can be used as a method
Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method.
This commit is contained in:
@@ -278,7 +278,7 @@ func Test_blob_index()
|
||||
call assert_equal(2, index(0zDEADBEEF, 0xBE))
|
||||
call assert_equal(-1, index(0zDEADBEEF, 0))
|
||||
call assert_equal(2, index(0z11111111, 0x11, 2))
|
||||
call assert_equal(3, index(0z11110111, 0x11, 2))
|
||||
call assert_equal(3, 0z11110111->index(0x11, 2))
|
||||
call assert_equal(2, index(0z11111111, 0x11, -2))
|
||||
call assert_equal(3, index(0z11110111, 0x11, -2))
|
||||
|
||||
|
Reference in New Issue
Block a user