mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 18:47:59 +01:00
Fix abbreviation tests (Luo Chunlei).
This commit is contained in:
@@ -37,9 +37,9 @@ let tests = [
|
|||||||
{ cmds: [":!dir"],
|
{ cmds: [":!dir"],
|
||||||
verify: function () getMultilineOutput().length > 10 },
|
verify: function () getMultilineOutput().length > 10 },
|
||||||
{ cmds: [":abbr VIMP vimperator labs", ":abbr"],
|
{ cmds: [":abbr VIMP vimperator labs", ":abbr"],
|
||||||
verify: function () getMultilineOutput().indexOf("vimperator labs") >= 0 },
|
verify: function () getOutput().indexOf("vimperator labs") >= 0 },
|
||||||
{ cmds: [":unabbr VIMP", ":abbr"],
|
{ cmds: [":unabbr VIMP", ":abbr"],
|
||||||
verify: function () getMultilineOutput().indexOf("vimperator labs") == -1 },
|
verify: function () getOutput().indexOf("vimperator labs") == -1 },
|
||||||
{ cmds: [":bmarks"],
|
{ cmds: [":bmarks"],
|
||||||
verify: function () getMultilineOutput().length > 100 },
|
verify: function () getMultilineOutput().length > 100 },
|
||||||
{ cmds: [":echo \"test\""],
|
{ cmds: [":echo \"test\""],
|
||||||
|
|||||||
Reference in New Issue
Block a user