Mercurial > vim
diff src/testdir/test55.in @ 6014:a162d41f10e1 v7.4.347
updated for version 7.4.347
Problem: test55 fails on some systems.
Solution: Remove the elements that all result in zero and can end up in an
arbitrary position.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 26 Jun 2014 22:33:51 +0200 |
parents | adc4a84f72eb |
children | f9ec944e4474 |
line wrap: on
line diff
--- a/src/testdir/test55.in +++ b/src/testdir/test55.in @@ -332,8 +332,9 @@ let l = [0, 1, 2, 3] :$put =string(reverse(sort(l))) :$put =string(sort(reverse(sort(l)))) :$put =string(uniq(sort(l))) +:let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0.22, 'foo'] +:$put =string(sort(copy(l), 'n')) :let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0, -0, 0.22, 'foo', 'FOOBAR',{}, []] -:$put =string(sort(copy(l), 'n')) :$put =string(sort(copy(l), 1)) :$put =string(sort(copy(l), 'i')) :$put =string(sort(copy(l)))