aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFamiu Haque <famiuhaque@proton.me>2023-12-23 10:56:58 +0600
committerFamiu Haque <famiuhaque@proton.me>2023-12-24 11:22:25 +0600
commit547ccc2681b204b3cb37b1b1fbe72baf21ca6660 (patch)
treec4291078979de3054043bbb42e5bc9db0f8679ff /test
parent8f72987837ce15156704f54951224de4ae36741d (diff)
downloadrneovim-547ccc2681b204b3cb37b1b1fbe72baf21ca6660.tar.gz
rneovim-547ccc2681b204b3cb37b1b1fbe72baf21ca6660.tar.bz2
rneovim-547ccc2681b204b3cb37b1b1fbe72baf21ca6660.zip
refactor(options): remove side effects from `check_num_option_bounds()`
Diffstat (limited to 'test')
-rw-r--r--test/functional/ui/screen_basic_spec.lua24
1 files changed, 11 insertions, 13 deletions
diff --git a/test/functional/ui/screen_basic_spec.lua b/test/functional/ui/screen_basic_spec.lua
index e1358a0335..b4ab3f54ca 100644
--- a/test/functional/ui/screen_basic_spec.lua
+++ b/test/functional/ui/screen_basic_spec.lua
@@ -618,22 +618,20 @@ local function screen_tests(linegrid)
]])
feed(':set columns=0<CR>')
screen:expect([[
- |*5
- {1: }|
- {8:E594: Need a}|
- {8:t least 12 c}|
- {8:olumns: colu}|
- {8:mns=0} |
- {7:Press ENTER }|
- {7:or type comm}|
- {7:and to conti}|
- {7:nue}^ |
+ |
+ {0:~ }|*7
+ {1: }|
+ {8:E594: Need at least }|
+ {8:12 columns: columns=}|
+ {8:0} |
+ {7:Press ENTER or type }|
+ {7:command to continue}^ |
]])
feed('<CR>')
screen:expect([[
- ^ |
- {0:~ }|*12
- |
+ ^ |
+ {0:~ }|*12
+ |
]])
end)
end)