mirror of
https://github.com/vim/vim.git
synced 2025-11-14 23:04:02 -05:00
patch 8.2.0610: some tests are still old style
Problem: Some tests are still old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
This commit is contained in:
@@ -47,7 +47,7 @@ func Test_sort_default()
|
||||
call assert_equal(['2', 'A', 'AA', 'a', 1, 3.3], sort([3.3, 1, "2", "A", "a", "AA"], ''))
|
||||
call assert_equal(['2', 'A', 'AA', 'a', 1, 3.3], sort([3.3, 1, "2", "A", "a", "AA"], 0))
|
||||
call assert_equal(['2', 'A', 'a', 'AA', 1, 3.3], sort([3.3, 1, "2", "A", "a", "AA"], 1))
|
||||
call assert_fails('call sort([3.3, 1, "2"], 3)', "E474")
|
||||
call assert_fails('call sort([3.3, 1, "2"], 3)', "E474:")
|
||||
endfunc
|
||||
|
||||
" Tests for the ":sort" command.
|
||||
|
||||
Reference in New Issue
Block a user