comparison src/testdir/test_sort.vim @ 19427:fdfe44ac6a1a v8.2.0271

patch 8.2.0271: the "num64" feature is available everywhere Commit: https://github.com/vim/vim/commit/82f654e092ac5b86316bc1b30c0b07a849813186 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 17 22:12:50 2020 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Mon, 17 Feb 2020 22:15:07 +0100
parents 02111977dd05
children e82996ad131f
comparison
equal deleted inserted replaced
19426:23bd41ec57fb 19427:fdfe44ac6a1a
1293 \ '2147483646', 1293 \ '2147483646',
1294 \ '2147483647', 1294 \ '2147483647',
1295 \ '2147483647'], getline(1, '$')) 1295 \ '2147483647'], getline(1, '$'))
1296 bwipe! 1296 bwipe!
1297 1297
1298 if has('num64') 1298 new
1299 new 1299 a
1300 a
1301 -9223372036854775808 1300 -9223372036854775808
1302 -9223372036854775807 1301 -9223372036854775807
1303 1302
1304 -1 1303 -1
1305 0 1304 0
1310 9223372036854775807 1309 9223372036854775807
1311 -9223372036854775808 1310 -9223372036854775808
1312 abc 1311 abc
1313 1312
1314 . 1313 .
1315 sort n 1314 sort n
1316 call assert_equal(['', 1315 call assert_equal(['',
1317 \ 'abc', 1316 \ 'abc',
1318 \ '', 1317 \ '',
1319 \ '-9223372036854775808', 1318 \ '-9223372036854775808',
1320 \ '-9223372036854775808', 1319 \ '-9223372036854775808',
1321 \ '-9223372036854775807', 1320 \ '-9223372036854775807',
1322 \ '-9223372036854775806', 1321 \ '-9223372036854775806',
1323 \ '-1', 1322 \ '-1',
1324 \ '0', 1323 \ '0',
1325 \ '1', 1324 \ '1',
1326 \ '9223372036854775806', 1325 \ '9223372036854775806',
1327 \ '9223372036854775807', 1326 \ '9223372036854775807',
1328 \ '9223372036854775807'], getline(1, '$')) 1327 \ '9223372036854775807'], getline(1, '$'))
1329 bwipe! 1328 bwipe!
1330 endif
1331 endfunc 1329 endfunc
1332 1330
1333 1331
1334 func Test_sort_cmd_report() 1332 func Test_sort_cmd_report()
1335 enew! 1333 enew!