Mercurial > vim
comparison src/testdir/test_expr.vim @ 27490:fb4c30606b4a v8.2.4273
patch 8.2.4273: the EBCDIC support is outdated
Commit: https://github.com/vim/vim/commit/424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 31 14:59:41 2022 +0000
patch 8.2.4273: the EBCDIC support is outdated
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 31 Jan 2022 16:00:09 +0100 |
parents | 4c16acb2525f |
children | 19367412787c |
comparison
equal
deleted
inserted
replaced
27489:9f00e1edb43c | 27490:fb4c30606b4a |
---|---|
243 call assert_equal('123', printf('%ld', 123)) | 243 call assert_equal('123', printf('%ld', 123)) |
244 call assert_equal('-123', printf('%ld', -123)) | 244 call assert_equal('-123', printf('%ld', -123)) |
245 call assert_equal('65535', printf('%ld', 0xFFFF)) | 245 call assert_equal('65535', printf('%ld', 0xFFFF)) |
246 call assert_equal('131071', printf('%ld', 0x1FFFF)) | 246 call assert_equal('131071', printf('%ld', 0x1FFFF)) |
247 | 247 |
248 if has('ebcdic') | 248 call assert_equal('{', printf('%c', 123)) |
249 call assert_equal('#', printf('%c', 123)) | |
250 else | |
251 call assert_equal('{', printf('%c', 123)) | |
252 endif | |
253 call assert_equal('abc', printf('%s', 'abc')) | 249 call assert_equal('abc', printf('%s', 'abc')) |
254 call assert_equal('abc', printf('%S', 'abc')) | 250 call assert_equal('abc', printf('%S', 'abc')) |
255 | 251 |
256 call assert_equal('+123', printf('%+d', 123)) | 252 call assert_equal('+123', printf('%+d', 123)) |
257 call assert_equal('-123', printf('%+d', -123)) | 253 call assert_equal('-123', printf('%+d', -123)) |