We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc8e950 + 51d1d53 commit fd343bdCopy full SHA for fd343bd
src/testdir/test_sort.vim
@@ -38,8 +38,9 @@ endfunc
38
39
func Test_sort_default()
40
" docs say omitted, empty or zero argument sorts on string representation.
41
- call assert_equal(["2", 1, 3.3], sort([3.3, 1, "2"]))
42
- call assert_equal(["2", 1, 3.3], sort([3.3, 1, "2"], ''))
43
- call assert_equal(["2", 1, 3.3], sort([3.3, 1, "2"], 0))
+ 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"], ''))
+ call assert_equal(['2', 'A', 'AA', 'a', 1, 3.3], sort([3.3, 1, "2", "A", "a", "AA"], 0))
44
+ call assert_equal(['2', 'A', 'a', 'AA', 1, 3.3], sort([3.3, 1, "2", "A", "a", "AA"], 1))
45
call assert_fails('call sort([3.3, 1, "2"], 3)', "E474")
46
endfunc
src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
758
759
static int included_patches[] =
760
{ /* Add new patch number below this line */
761
+/**/
762
+ 1468,
763
/**/
764
1467,
765
0 commit comments