aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_exec_while_if.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-01 10:43:14 +0800
committerGitHub <noreply@github.com>2022-02-01 10:43:14 +0800
commit547497b042dccc10de0e144485d36952dbd1182e (patch)
tree51e74fbd45dda0dc49ceb0b47b063d111c80cf4b /src/nvim/testdir/test_exec_while_if.vim
parent5205bcc9049a171e90ebd01bbc0367f4ae2371d1 (diff)
parentbba5003bdb628764362d8c4869a1e1999584d716 (diff)
downloadrneovim-547497b042dccc10de0e144485d36952dbd1182e.tar.gz
rneovim-547497b042dccc10de0e144485d36952dbd1182e.tar.bz2
rneovim-547497b042dccc10de0e144485d36952dbd1182e.zip
Merge pull request #17261 from zeertzjq/vim-8.2.4273
vim-patch:8.2.4273: the EBCDIC support is outdated
Diffstat (limited to 'src/nvim/testdir/test_exec_while_if.vim')
-rw-r--r--src/nvim/testdir/test_exec_while_if.vim18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/nvim/testdir/test_exec_while_if.vim b/src/nvim/testdir/test_exec_while_if.vim
index 3da2784d77..3f13b09945 100644
--- a/src/nvim/testdir/test_exec_while_if.vim
+++ b/src/nvim/testdir/test_exec_while_if.vim
@@ -6,11 +6,7 @@ func Test_exec_while_if()
let i = 0
while i < 12
let i = i + 1
- if has("ebcdic")
- execute "normal o" . i . "\047"
- else
- execute "normal o" . i . "\033"
- endif
+ execute "normal o" . i . "\033"
if i % 2
normal Ax
if i == 9
@@ -21,21 +17,13 @@ func Test_exec_while_if()
else
let j = 9
while j > 0
- if has("ebcdic")
- execute "normal" j . "a" . j . "\x27"
- else
- execute "normal" j . "a" . j . "\x1b"
- endif
+ execute "normal" j . "a" . j . "\x1b"
let j = j - 1
endwhile
endif
endif
if i == 9
- if has("ebcdic")
- execute "normal Az\047"
- else
- execute "normal Az\033"
- endif
+ execute "normal Az\033"
endif
endwhile
unlet i j