diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2020-02-19 13:08:12 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2020-02-19 13:08:12 +0100 |
commit | a380526c0fb9db18fd2c6743bf851e1df617c3d3 (patch) | |
tree | 5fb0a43133646021dd48d168e45c9ad4b860d468 /test/functional/ui/messages_spec.lua | |
parent | e8f160c82f8d4809320699630e07a7e5f4537e77 (diff) | |
download | rneovim-a380526c0fb9db18fd2c6743bf851e1df617c3d3.tar.gz rneovim-a380526c0fb9db18fd2c6743bf851e1df617c3d3.tar.bz2 rneovim-a380526c0fb9db18fd2c6743bf851e1df617c3d3.zip |
test: always use "set more" with :digraph test
otherwise we risk the same issue as with ex_cmds/digraphs_spec.lua
Diffstat (limited to 'test/functional/ui/messages_spec.lua')
-rw-r--r-- | test/functional/ui/messages_spec.lua | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/test/functional/ui/messages_spec.lua b/test/functional/ui/messages_spec.lua index 0b822bc2f2..efc02db159 100644 --- a/test/functional/ui/messages_spec.lua +++ b/test/functional/ui/messages_spec.lua @@ -969,6 +969,7 @@ vimComment xxx match /\s"[^\-:.%#=*].*$/ms=s+1,lc=1 excludenl contains=@vim -- edge case: only one window was set NOT_VALID. Orginal report -- used :make, but fake it using one command to set the current -- window NOT_VALID and another to show a long message. + command("set more") feed(':new<cr><c-w><c-w>') screen:expect{grid=[[ | @@ -982,16 +983,16 @@ vimComment xxx match /\s"[^\-:.%#=*].*$/ms=s+1,lc=1 excludenl contains=@vim feed(':set colorcolumn=10 | digraphs<cr>') screen:expect{grid=[[ - er {5:ㄦ} 12582 i4 {5:ㄧ} 12583 u4 {5:ㄨ} 12584 iu {5:ㄩ} 12585 | - v4 {5:ㄪ} 12586 nG {5:ㄫ} 12587 gn {5:ㄬ} 12588 1c {5:㈠} 12832 | - 2c {5:㈡} 12833 3c {5:㈢} 12834 4c {5:㈣} 12835 5c {5:㈤} 12836 | - 6c {5:㈥} 12837 7c {5:㈦} 12838 8c {5:㈧} 12839 9c {5:㈨} 12840 | - ff {5:ff} 64256 fi {5:fi} 64257 fl {5:fl} 64258 ft {5:ſt} 64261 | - st {5:st} 64262 | - {4:Press ENTER or type command to continue}^ | + :set colorcolumn=10 | digraphs | + NU {5:^@} 10 SH {5:^A} 1 SX {5:^B} 2 EX {5:^C} 3 | + ET {5:^D} 4 EQ {5:^E} 5 AK {5:^F} 6 BL {5:^G} 7 | + BS {5:^H} 8 HT {5:^I} 9 LF {5:^@} 10 VT {5:^K} 11 | + FF {5:^L} 12 CR {5:^M} 13 SO {5:^N} 14 SI {5:^O} 15 | + DL {5:^P} 16 D1 {5:^Q} 17 D2 {5:^R} 18 D3 {5:^S} 19 | + {4:-- More --}^ | ]]} - feed('<cr>') + feed('q') screen:expect{grid=[[ | {1:~ }| |