mirror of
https://github.com/neovim/neovim.git
synced 2025-12-17 03:45:42 +00:00
test(swapfile): don't check for line with full file path (#33896)
Wrapping can happen anywhere where in the full file path, breaking the
matching. Match a line with the "Xswaptest" line instead.
(cherry picked from commit 1b8ae4336d)
This commit is contained in:
committed by
github-actions[bot]
parent
6a87b57c06
commit
a56dcbbad7
@@ -450,8 +450,8 @@ pcall(vim.cmd.edit, 'Xtest_swapredraw.lua')
|
|||||||
screen:expect({
|
screen:expect({
|
||||||
any = table.concat({
|
any = table.concat({
|
||||||
pesc('{2:E325: ATTENTION}'),
|
pesc('{2:E325: ATTENTION}'),
|
||||||
'file name: .*Xswaptest',
|
'\n process ID: %d* %(STILL RUNNING%)',
|
||||||
'process ID: %d* %(STILL RUNNING%)',
|
'\nWhile opening file "Xswaptest"',
|
||||||
pesc('{1:[O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort: }^'),
|
pesc('{1:[O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort: }^'),
|
||||||
}, '.*'),
|
}, '.*'),
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user