diff options
author | Doug Kearns <dougkearns@gmail.com> | 2011-06-27 15:51:11 +1000 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2011-06-27 15:51:11 +1000 |
commit | 78a1e62ca2e0a4213896399ffc594cc81558fe5a (patch) | |
tree | 3e96d25ea2ce81a85edb58052a33ee668520b061 /common/tests | |
parent | 495dd8d9d992d60f917590adfef84c14e4f3b26b (diff) | |
download | pentadactyl-78a1e62ca2e0a4213896399ffc594cc81558fe5a.tar.gz |
Don't hide command errors in tab modifier commands.
--HG--
extra : rebase_source : 05de0074fabbae061e14c10073f0b4648d72709f
Diffstat (limited to 'common/tests')
-rw-r--r-- | common/tests/functional/testCommands.js | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/common/tests/functional/testCommands.js b/common/tests/functional/testCommands.js index c01e1c58..2a93a5b0 100644 --- a/common/tests/functional/testCommands.js +++ b/common/tests/functional/testCommands.js @@ -328,9 +328,10 @@ var tests = { multiOutput: [""] }, keepalt: { - error: [""], + error: ["", "some-nonexistent-command"], noOutput: ["js ''"], - anyOutput: ["echo 'foo'"] + anyOutput: ["echo 'foo'"], + completions: [["", hasItems]] }, let: {}, // Deprecated. Fuck it. listcommands: { @@ -671,10 +672,20 @@ var tests = { ["-index=", hasNItems(2)] ] }, - tab: {}, + tab: { + error: ["", "some-nonexistent-command"], + noOutput: ["js ''"], + anyOutput: ["echo 'foo'"], + completions: [["", hasItems]] + }, tabattach: {}, tabdetach: {}, - tabdo: {}, + tabdo: { + error: ["", "some-nonexistent-command"], + noOutput: ["js ''"], + anyOutput: ["echo 'foo'"], + completions: [["", hasItems]] + }, tabduplicate: {}, tablast: {}, tabmove: { |