diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-02-10 22:30:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-10 22:30:49 +0100 |
commit | 34b99bc06b1e836f3a9bdfc25d55ff0661049007 (patch) | |
tree | d5dd1064427ae89c48b2ce1f37bcdbd40553132b /test/functional/ex_cmds | |
parent | a6052c7307414045fbe2f55cd0c6a5017eb9f68e (diff) | |
parent | c03a847884c017a78e099beaa1b252e5f940c8e0 (diff) | |
download | rneovim-34b99bc06b1e836f3a9bdfc25d55ff0661049007.tar.gz rneovim-34b99bc06b1e836f3a9bdfc25d55ff0661049007.tar.bz2 rneovim-34b99bc06b1e836f3a9bdfc25d55ff0661049007.zip |
Merge pull request #7979 from bfredl/shellbell
Shell: support bell and buffer incomplete UTF-8 sequences
Diffstat (limited to 'test/functional/ex_cmds')
-rw-r--r-- | test/functional/ex_cmds/bang_filter_spec.lua | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/test/functional/ex_cmds/bang_filter_spec.lua b/test/functional/ex_cmds/bang_filter_spec.lua deleted file mode 100644 index 636d732161..0000000000 --- a/test/functional/ex_cmds/bang_filter_spec.lua +++ /dev/null @@ -1,69 +0,0 @@ --- Specs for bang/filter commands - -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 - -if helpers.pending_win32(pending) then return end - -local Screen = require('test.functional.ui.screen') - - -describe(':! command', function() - local screen - - before_each(function() - clear() - rmdir('bang_filter_spec') - mkdir('bang_filter_spec') - write_file('bang_filter_spec/f1', 'f1') - write_file('bang_filter_spec/f2', 'f2') - write_file('bang_filter_spec/f3', 'f3') - screen = Screen.new(53,10) - screen:set_default_attr_ids({ - [1] = {bold = true, foreground = Screen.colors.Blue1}, - [2] = {foreground = Screen.colors.Blue1}, - [3] = {bold = true, foreground = Screen.colors.SeaGreen4}, - }) - screen:attach() - end) - - after_each(function() - rmdir('bang_filter_spec') - end) - - it("doesn't truncate Last line of shell output #3269", function() - command([[nnoremap <silent>\l :!ls bang_filter_spec<cr>]]) - feed([[\l]]) - screen:expect([[ - {1:~ }| - {1:~ }| - {1:~ }| - {1:~ }| - :!ls bang_filter_spec | - f1 | - f2 | - f3 | - | - {3:Press ENTER or type command to continue}^ | - ]]) - end) - - it('handles binary and multibyte data', function() - feed_command('!cat test/functional/fixtures/shell_data.txt') - screen:expect([[ - {1:~ }| - {1:~ }| - {1:~ }| - :!cat test/functional/fixtures/shell_data.txt | - {2:^@^A^B^C^D^E^F^G^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}^ | - ]]) - end) - -end) |