From aaa36956c5035d34313d7ce33822de1d7c375b68 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 19 Jan 2009 00:31:30 +1100 Subject: [PATCH] Fix abbreviation tests (Luo Chunlei). --- vimperator/regressions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vimperator/regressions.js b/vimperator/regressions.js index 27fc87fc..fd7f043a 100644 --- a/vimperator/regressions.js +++ b/vimperator/regressions.js @@ -37,9 +37,9 @@ let tests = [ { cmds: [":!dir"], verify: function () getMultilineOutput().length > 10 }, { cmds: [":abbr VIMP vimperator labs", ":abbr"], - verify: function () getMultilineOutput().indexOf("vimperator labs") >= 0 }, + verify: function () getOutput().indexOf("vimperator labs") >= 0 }, { cmds: [":unabbr VIMP", ":abbr"], - verify: function () getMultilineOutput().indexOf("vimperator labs") == -1 }, + verify: function () getOutput().indexOf("vimperator labs") == -1 }, { cmds: [":bmarks"], verify: function () getMultilineOutput().length > 100 }, { cmds: [":echo \"test\""],