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:
Sean Dewar
2021-04-21 14:27:23 +01:00
parent 65f35e0c7d
commit ff198bb78a

View File

@@ -47,7 +47,7 @@ func Test_buffers_lastused()
endfor endfor
call assert_equal(['bufb', 'bufa', 'bufc'], names) 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 bufa
bwipeout bufb bwipeout bufb