diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-22 23:50:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-22 23:50:28 +0100 |
commit | 0bb6108eb4e1ecaed437bc507f514f5da7816d9e (patch) | |
tree | aceeddab2e80b70d3f1c5df72a601c5846466b67 /src/testdir/test_sort.vim | |
parent | 1daae446e58fd90f98c51ff3af8f54bfa5197751 (diff) |
patch 7.4.1397v7.4.1397
Problem: Sort test fails on MS-Windows.
Solution: Correct the compare function.
Diffstat (limited to 'src/testdir/test_sort.vim')
-rw-r--r-- | src/testdir/test_sort.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_sort.vim b/src/testdir/test_sort.vim index 68021f6de6..2b097ceb96 100644 --- a/src/testdir/test_sort.vim +++ b/src/testdir/test_sort.vim @@ -2,11 +2,11 @@ :func Compare1(a, b) abort call sort(range(3), 'Compare2') - return a:a ># a:b + return a:a - a:b :endfunc :func Compare2(a, b) abort - return a:a <# a:b + return a:a - a:b :endfunc func Test_sort_strings() |