diff options
author | Doug Kearns <dougkearns@gmail.com> | 2011-02-07 21:16:00 +1100 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2011-02-07 21:16:00 +1100 |
commit | 6331a0c532813b91caba5d7481536b97ef0d59da (patch) | |
tree | 60f54cad3b9beeed7ddbfc1fb2c27141897426f8 /common/tests/functional | |
parent | 9205867efd02711bc7e9af0574cee1f7dc1d0815 (diff) | |
download | pentadactyl-6331a0c532813b91caba5d7481536b97ef0d59da.tar.gz |
'Fix' :delcommand testCommands test.
This was failing due to *evil* test dependencies.
Diffstat (limited to 'common/tests/functional')
-rw-r--r-- | common/tests/functional/testCommands.js | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/common/tests/functional/testCommands.js b/common/tests/functional/testCommands.js index 60fc7b8f..2b1b733c 100644 --- a/common/tests/functional/testCommands.js +++ b/common/tests/functional/testCommands.js @@ -137,9 +137,16 @@ var tests = { ] }, delbmarks: { anyOutput: ["", "about:pentadactyl"] }, - delcommand: { - noOutput: ["foo"] // TODO: Why is this failing? "Unexpected command output: delcommand foo" - }, + delcommand: [ + { + init: ["comclear", "command foo bar"], + noOutput: ["foo"] + }, + { + init: ["comclear"], + error: ["foo"] + } + ], delmacros: { error: [""], noOutput: ["x"], |