diff options
author | James McCoy <jamessan@jamessan.com> | 2018-06-14 08:06:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-14 08:06:38 -0400 |
commit | f27a665e0515c280e1fa6c999f29921eb882c6b2 (patch) | |
tree | 7a3ecc1a391dc2e998a02815399071b6133a9ae8 | |
parent | 463da8480685dbd53335b4e3f0a6d37cacbacac4 (diff) | |
parent | 6c0f1903e6b353566a6637a43e543977116acd52 (diff) | |
download | rneovim-f27a665e0515c280e1fa6c999f29921eb882c6b2.tar.gz rneovim-f27a665e0515c280e1fa6c999f29921eb882c6b2.tar.bz2 rneovim-f27a665e0515c280e1fa6c999f29921eb882c6b2.zip |
Merge pull request #8549 from jamessan/output_spec-printf
functionaltest: Use octal escapes for printf
-rw-r--r-- | test/functional/ui/output_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/ui/output_spec.lua b/test/functional/ui/output_spec.lua index 02ca566bd8..93d8965cb1 100644 --- a/test/functional/ui/output_spec.lua +++ b/test/functional/ui/output_spec.lua @@ -111,10 +111,10 @@ describe("shell command :!", function() feed([[<CR>]]) -- Print BELL control code. #4338 screen.bell = false - feed([[:!printf '\x07\x07\x07\x07text'<CR>]]) + feed([[:!printf '\007\007\007\007text'<CR>]]) screen:expect([[ ~ | - :!printf '\x07\x07\x07\x07text' | + :!printf '\007\007\007\007text' | text | Press ENTER or type command to continue^ | ]], nil, nil, function() @@ -122,7 +122,7 @@ describe("shell command :!", function() end) feed([[<CR>]]) -- Print BS control code. - feed([[:echo system('printf ''\x08\n''')<CR>]]) + feed([[:echo system('printf ''\010\n''')<CR>]]) screen:expect([[ ~ | ^H | |