From 82f654e092ac5b86316bc1b30c0b07a849813186 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 17 Feb 2020 22:12:50 +0100 Subject: patch 8.2.0271: the "num64" feature is available everywhere Problem: The "num64" feature is available everywhere and building without it causes problems. Solution: Graduage the "num64" feature. (James McCoy, closes #5650) --- src/testdir/test_sort.vim | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) (limited to 'src/testdir/test_sort.vim') 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 -- cgit v1.2.1