aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/fileio_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-05-26 09:34:29 +0200
committerbfredl <bjorn.linse@gmail.com>2024-05-26 10:24:27 +0200
commitb90d7c36cf8a93e02d834eb53f5d0c8f19a9d7fa (patch)
treebe6be35f4b823cb4bbb220e8318f63b8292d2b82 /test/functional/core/fileio_spec.lua
parent05a65432b6bb718d67dda370144e34faf933c086 (diff)
downloadrneovim-b90d7c36cf8a93e02d834eb53f5d0c8f19a9d7fa.tar.gz
rneovim-b90d7c36cf8a93e02d834eb53f5d0c8f19a9d7fa.tar.bz2
rneovim-b90d7c36cf8a93e02d834eb53f5d0c8f19a9d7fa.zip
refactor(tests): more global highlight definitions
Diffstat (limited to 'test/functional/core/fileio_spec.lua')
-rw-r--r--test/functional/core/fileio_spec.lua11
1 files changed, 3 insertions, 8 deletions
diff --git a/test/functional/core/fileio_spec.lua b/test/functional/core/fileio_spec.lua
index 5b0be1e83c..1c4f42eb43 100644
--- a/test/functional/core/fileio_spec.lua
+++ b/test/functional/core/fileio_spec.lua
@@ -276,11 +276,6 @@ describe('fileio', function()
write_file('Xtest-overwrite-forced', 'foobar')
command('set nofixendofline')
local screen = Screen.new(40, 4)
- screen:set_default_attr_ids({
- [1] = { bold = true, foreground = Screen.colors.Blue1 },
- [2] = { foreground = Screen.colors.Grey100, background = Screen.colors.Red },
- [3] = { bold = true, foreground = Screen.colors.SeaGreen4 },
- })
screen:attach()
command('set shortmess-=F')
@@ -300,9 +295,9 @@ describe('fileio', function()
-- use async feed_command because nvim basically hangs on the prompt
feed_command('w')
screen:expect([[
- {2:WARNING: The file has been changed since}|
- {2: reading it!!!} |
- {3:Do you really want to write to it (y/n)?}|
+ {9:WARNING: The file has been changed since}|
+ {9: reading it!!!} |
+ {6:Do you really want to write to it (y/n)?}|
^ |
]])