Thanks. I prefer to make difference for default and 1 clearly.

diff --git a/src/testdir/test_sort.vim b/src/testdir/test_sort.vim
index 819514a..25a6cea 100644
--- a/src/testdir/test_sort.vim
+++ b/src/testdir/test_sort.vim
@@ -38,8 +38,9 @@ endfunc
 
 func Test_sort_default()
   " docs say omitted, empty or zero argument sorts on string representation.
-  call assert_equal(["2", 1, 3.3], sort([3.3, 1, "2"]))
-  call assert_equal(["2", 1, 3.3], sort([3.3, 1, "2"], ''))
-  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))
+  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")
 endfunc

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui