From c8810a51a3a7ef1185b45c07d93f7e6769c5ab55 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Mon, 26 Jun 2017 14:49:15 +0200 Subject: tests: improve robustness of immediate successes in screen tests --- test/functional/eval/execute_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/eval/execute_spec.lua') diff --git a/test/functional/eval/execute_spec.lua b/test/functional/eval/execute_spec.lua index 925e311c7d..af37ab8d55 100644 --- a/test/functional/eval/execute_spec.lua +++ b/test/functional/eval/execute_spec.lua @@ -161,13 +161,13 @@ describe('execute()', function() eq('42', eval('g:mes')) command('let g:mes = execute("echon 13", "silent")') - screen:expect([[ + screen:expect{grid=[[ ^ | ~ | ~ | ~ | | - ]]) + ]], unchanged=true} eq('13', eval('g:mes')) end) -- cgit