aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/eval_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-11-09 13:48:45 +0100
committerGitHub <noreply@github.com>2024-11-09 13:48:45 +0100
commitdd4c828c86d0da7823a1c415d0e9c1d493e901b7 (patch)
treea50e1acc9853288d484f135acc50c066521a1b22 /test/functional/vimscript/eval_spec.lua
parent07b14c8e2ed288dfca382719aeb26d544573f51a (diff)
parentabe6a07c54c0e927cf43f7f61b05ac91547daeed (diff)
downloadrneovim-dd4c828c86d0da7823a1c415d0e9c1d493e901b7.tar.gz
rneovim-dd4c828c86d0da7823a1c415d0e9c1d493e901b7.tar.bz2
rneovim-dd4c828c86d0da7823a1c415d0e9c1d493e901b7.zip
Merge pull request #31118 from bfredl/merehl
refactor(tests): continue the global highlight definition work
Diffstat (limited to 'test/functional/vimscript/eval_spec.lua')
-rw-r--r--test/functional/vimscript/eval_spec.lua21
1 files changed, 8 insertions, 13 deletions
diff --git a/test/functional/vimscript/eval_spec.lua b/test/functional/vimscript/eval_spec.lua
index 0c812d968e..840e311dd8 100644
--- a/test/functional/vimscript/eval_spec.lua
+++ b/test/functional/vimscript/eval_spec.lua
@@ -189,11 +189,6 @@ describe('uncaught exception', function()
it('multiline exception remains multiline #25350', function()
local screen = Screen.new(80, 11)
- screen:set_default_attr_ids({
- [1] = { bold = true, reverse = true }, -- MsgSeparator
- [2] = { foreground = Screen.colors.White, background = Screen.colors.Red }, -- ErrorMsg
- [3] = { bold = true, foreground = Screen.colors.SeaGreen }, -- MoreMsg
- })
screen:attach()
exec_lua([[
function _G.Oops()
@@ -203,17 +198,17 @@ describe('uncaught exception', function()
feed(':try\rlua _G.Oops()\rendtry\r')
screen:expect {
grid = [[
- {1: }|
+ {3: }|
:try |
: lua _G.Oops() |
: endtry |
- {2:Error detected while processing :} |
- {2:E5108: Error executing lua [string "<nvim>"]:2: oops} |
- {2:stack traceback:} |
- {2: [C]: in function 'error'} |
- {2: [string "<nvim>"]:2: in function 'Oops'} |
- {2: [string ":lua"]:1: in main chunk} |
- {3:Press ENTER or type command to continue}^ |
+ {9:Error detected while processing :} |
+ {9:E5108: Error executing lua [string "<nvim>"]:2: oops} |
+ {9:stack traceback:} |
+ {9: [C]: in function 'error'} |
+ {9: [string "<nvim>"]:2: in function 'Oops'} |
+ {9: [string ":lua"]:1: in main chunk} |
+ {6:Press ENTER or type command to continue}^ |
]],
}
end)