Patch 7.4.1468
Problem:    Sort test doesn't test with "1" argument.
Solution:   Also test ignore-case sorting. (Yasuhiro Matsumoto)
Files:      src/testdir/test_sort.vim


*** ../vim-7.4.1467/src/testdir/test_sort.vim   2016-02-29 22:05:16.841676901 
+0100
--- src/testdir/test_sort.vim   2016-03-01 22:47:49.353466023 +0100
***************
*** 38,45 ****
  
  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_fails('call sort([3.3, 1, "2"], 3)', "E474")
  endfunc
--- 38,46 ----
  
  func Test_sort_default()
    " docs say omitted, empty or zero argument sorts on string representation.
!   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
*** ../vim-7.4.1467/src/version.c       2016-02-29 23:12:44.214899375 +0100
--- src/version.c       2016-03-01 22:51:11.467331698 +0100
***************
*** 745,746 ****
--- 745,748 ----
  {   /* Add new patch number below this line */
+ /**/
+     1468,
  /**/

-- 
./configure
Checking whether build environment is sane ...
build environment is grinning and holding a spatula.  Guess not.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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