mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(oldtest): fix assert_match() for :buffers t
Previous pattern could cause test to fail if ":buffers t" reported "1 second ago".
This commit is contained in:
parent
65f35e0c7d
commit
ff198bb78a
@ -47,7 +47,7 @@ func Test_buffers_lastused()
|
||||
endfor
|
||||
|
||||
call assert_equal(['bufb', 'bufa', 'bufc'], names)
|
||||
call assert_match('[0-2] seconds ago', bufs[1][1])
|
||||
call assert_match('[0-2] seconds\= ago', bufs[1][1])
|
||||
|
||||
bwipeout bufa
|
||||
bwipeout bufb
|
||||
|
Loading…
Reference in New Issue
Block a user