aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-04-21 14:27:23 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-04-21 14:55:04 +0100
commitff198bb78a34f4b388efe1b45930031b39ae5810 (patch)
treedd3889f6776a348f5b40fdbb16858d2654a778d4
parent65f35e0c7db700c25d9de9a3c8637f720c07583a (diff)
downloadrneovim-ff198bb78a34f4b388efe1b45930031b39ae5810.tar.gz
rneovim-ff198bb78a34f4b388efe1b45930031b39ae5810.tar.bz2
rneovim-ff198bb78a34f4b388efe1b45930031b39ae5810.zip
fix(oldtest): fix assert_match() for :buffers t
Previous pattern could cause test to fail if ":buffers t" reported "1 second ago".
-rw-r--r--src/nvim/testdir/test_excmd.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_excmd.vim b/src/nvim/testdir/test_excmd.vim
index 98a3e60368..15557056ee 100644
--- a/src/nvim/testdir/test_excmd.vim
+++ b/src/nvim/testdir/test_excmd.vim
@@ -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