@@ -328,7 +328,7 @@ Execute (PlugUpdate to install both again):
328
328
329
329
Execute (PlugUpdate only to find out plugins are up-to-date, D key to check):
330
330
PlugUpdate
331
- AssertExpect 'Already up-to-date', 2
331
+ AssertExpect 'Already up.to.date', 2, 'Expected 2 times "Already up -to-date", but got: '.string(getline(1, '$'))
332
332
normal D
333
333
AssertEqual '0 plugin(s) updated.', getline(1)
334
334
q
@@ -1613,21 +1613,21 @@ Execute (#532 - Reuse plug window):
1613
1613
call system(printf('cd "%s" && git commit --allow-empty -m "dummy"', g:plugs['goyo.vim'].dir))
1614
1614
1615
1615
PlugDiff
1616
- AssertEqual 1, winnr()
1617
- AssertEqual 2, winnr('$')
1616
+ AssertEqual 1, winnr(), 'Current window is #1 after PlugDiff (but is '.winnr().')'
1617
+ AssertEqual 2, winnr('$'), 'Two windows after PlugDiff (but got '.winnr('$').')'
1618
1618
1619
1619
" Open preview window
1620
1620
execute "normal ]]jo"
1621
- AssertEqual 2, winnr()
1622
- AssertEqual 3, winnr('$')
1621
+ AssertEqual 2, winnr(), 'Current window is #2 after opening preview (but is '.winnr().')'
1622
+ AssertEqual 3, winnr('$'), 'Three windows with preview (but got '.winnr('$').')'
1623
1623
1624
1624
" Move plug window to the right
1625
1625
wincmd L
1626
- AssertEqual 3, winnr()
1627
- AssertEqual 3, winnr('$')
1626
+ AssertEqual 3, winnr(), 'Current window is #3 after moving window (but is '.winnr().')'
1627
+ AssertEqual 3, winnr('$'), 'Three windows after moving window (but got '.winnr('$').')'
1628
1628
1629
1629
" Reuse plug window. Preview window is closed.
1630
1630
PlugStatus
1631
- AssertEqual 2, winnr()
1632
- AssertEqual 2, winnr('$')
1631
+ AssertEqual 2, winnr(), 'Current window is #2 after PlugStatus (but is '.winnr().')'
1632
+ AssertEqual 2, winnr('$'), 'Three windows after PlugStatus (but got '.winnr('$').')'
1633
1633
q
0 commit comments