From a316258d2c15e180b4cd9d59cfad3f9f1eaf2fcc Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 18 Sep 2018 09:29:54 +0200 Subject: [PATCH] test: system_spec: remove redundant clear() --- test/functional/eval/system_spec.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/functional/eval/system_spec.lua b/test/functional/eval/system_spec.lua index 03aa7fa45f..0d84f47b65 100644 --- a/test/functional/eval/system_spec.lua +++ b/test/functional/eval/system_spec.lua @@ -124,7 +124,6 @@ describe('system()', function() local screen before_each(function() - clear() screen = Screen.new() screen:attach() end) @@ -428,13 +427,12 @@ describe('systemlist()', function() local screen before_each(function() - clear() - screen = Screen.new() - screen:attach() + screen = Screen.new() + screen:attach() end) after_each(function() - screen:detach() + screen:detach() end) it('`echo` and waits for its return', function()