summaryrefslogtreecommitdiff
path: root/src/testdir/test_sort.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-17 22:12:50 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-17 22:12:50 +0100
commit82f654e092ac5b86316bc1b30c0b07a849813186 (patch)
tree8a6ba00df3ea0f536d4fe559f0f6093146466062 /src/testdir/test_sort.vim
parentbc2b71d44a0b90b6aeb3534a76912fccbe5577df (diff)
downloadvim-git-82f654e092ac5b86316bc1b30c0b07a849813186.tar.gz
patch 8.2.0271: the "num64" feature is available everywherev8.2.0271
Problem: The "num64" feature is available everywhere and building without it causes problems. Solution: Graduage the "num64" feature. (James McCoy, closes #5650)
Diffstat (limited to 'src/testdir/test_sort.vim')
-rw-r--r--src/testdir/test_sort.vim36
1 files changed, 17 insertions, 19 deletions
diff --git a/src/testdir/test_sort.vim b/src/testdir/test_sort.vim
index ce5592e2e..8299db4ef 100644
--- a/src/testdir/test_sort.vim
+++ b/src/testdir/test_sort.vim
@@ -1295,9 +1295,8 @@ abc
\ '2147483647'], getline(1, '$'))
bwipe!
- if has('num64')
- new
- a
+ new
+ a
-9223372036854775808
-9223372036854775807
@@ -1312,22 +1311,21 @@ abc
abc
.
- sort n
- call assert_equal(['',
- \ 'abc',
- \ '',
- \ '-9223372036854775808',
- \ '-9223372036854775808',
- \ '-9223372036854775807',
- \ '-9223372036854775806',
- \ '-1',
- \ '0',
- \ '1',
- \ '9223372036854775806',
- \ '9223372036854775807',
- \ '9223372036854775807'], getline(1, '$'))
- bwipe!
- endif
+ sort n
+ call assert_equal(['',
+ \ 'abc',
+ \ '',
+ \ '-9223372036854775808',
+ \ '-9223372036854775808',
+ \ '-9223372036854775807',
+ \ '-9223372036854775806',
+ \ '-1',
+ \ '0',
+ \ '1',
+ \ '9223372036854775806',
+ \ '9223372036854775807',
+ \ '9223372036854775807'], getline(1, '$'))
+ bwipe!
endfunc