aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-02-07 10:23:19 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2018-02-10 22:28:12 +0100
commit60ce7d9e0a0606e20a17f90d78e9d8319114273b (patch)
tree54ceededd83da28ca5fd8eccca33a368172ffbe2 /test/functional/ex_cmds
parenta6052c7307414045fbe2f55cd0c6a5017eb9f68e (diff)
downloadrneovim-60ce7d9e0a0606e20a17f90d78e9d8319114273b.tar.gz
rneovim-60ce7d9e0a0606e20a17f90d78e9d8319114273b.tar.bz2
rneovim-60ce7d9e0a0606e20a17f90d78e9d8319114273b.zip
shell: support bell
Diffstat (limited to 'test/functional/ex_cmds')
-rw-r--r--test/functional/ex_cmds/bang_filter_spec.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/functional/ex_cmds/bang_filter_spec.lua b/test/functional/ex_cmds/bang_filter_spec.lua
index 636d732161..3559828aa8 100644
--- a/test/functional/ex_cmds/bang_filter_spec.lua
+++ b/test/functional/ex_cmds/bang_filter_spec.lua
@@ -4,6 +4,7 @@ local helpers = require('test.functional.helpers')(after_each)
local feed, command, clear = helpers.feed, helpers.command, helpers.clear
local mkdir, write_file, rmdir = helpers.mkdir, helpers.write_file, helpers.rmdir
local feed_command = helpers.feed_command
+local eq = helpers.eq
if helpers.pending_win32(pending) then return end
@@ -52,18 +53,21 @@ describe(':! command', function()
it('handles binary and multibyte data', function()
feed_command('!cat test/functional/fixtures/shell_data.txt')
+ screen.bell = false
screen:expect([[
{1:~ }|
{1:~ }|
{1:~ }|
:!cat test/functional/fixtures/shell_data.txt |
- {2:^@^A^B^C^D^E^F^G^H} |
+ {2:^@^A^B^C^D^E^F^H} |
{2:^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_} |
ö 한글 {2:<a5><c3>} |
t {2:<ff>} |
|
{3:Press ENTER or type command to continue}^ |
- ]])
+ ]], nil, nil, function()
+ eq(true, screen.bell)
+ end)
end)
end)