diff options
author | Doug Kearns <dougkearns@gmail.com> | 2011-02-01 01:06:49 +1100 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2011-02-01 01:06:49 +1100 |
commit | 37d62cdeba7d7668f0db6eea8c623ad4fd67fd23 (patch) | |
tree | b0cab25eb349dc73e24157531ad3013492b259b1 /common/tests | |
parent | cf79af71485b80fd1b689e375163ee50141a3db4 (diff) | |
download | pentadactyl-37d62cdeba7d7668f0db6eea8c623ad4fd67fd23.tar.gz |
Run stylebot -- semicolons.
Diffstat (limited to 'common/tests')
-rw-r--r-- | common/tests/functional/dactyl.js | 6 | ||||
-rw-r--r-- | common/tests/functional/utils.js | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/common/tests/functional/dactyl.js b/common/tests/functional/dactyl.js index 55b85dde..f6f9fed2 100644 --- a/common/tests/functional/dactyl.js +++ b/common/tests/functional/dactyl.js @@ -435,21 +435,21 @@ Controller.prototype = { /** * Opens the output message window by echoing a single newline character. */ - openMessageWindow: wrapAssertNoErrors(function() { + openMessageWindow: wrapAssertNoErrors(function () { this.dactyl.dactyl.echo("\n"); }, "Opening message window"), /** * Clears the current message. */ - clearMessage: function() { + clearMessage: function () { this.elements.message.value = ""; // XXX }, /** * Closes the output message window if open. */ - closeMessageWindow: wrapAssertNoErrors(function() { + closeMessageWindow: wrapAssertNoErrors(function () { for (let i = 0; i < 15 && !this.elements.multilineContainer.collapsed; i++) this.controller.keypress(null, "VK_ESCAPE", {}); this.assertMessageWindowOpen(false, "Clearing message window failed"); diff --git a/common/tests/functional/utils.js b/common/tests/functional/utils.js index 309fea11..b5fa59f0 100644 --- a/common/tests/functional/utils.js +++ b/common/tests/functional/utils.js @@ -32,14 +32,14 @@ for (var [k, v] in Iterator({ assert: function (funcName, value, comment) test(value, { - function: funcName, + function: funcName, value: toJSON(value), comment: toJSON(comment) }), assertEqual: function (funcName, want, got, comment) test(want == got, { - function: funcName, + function: funcName, want: toJSON(want), got: toJSON(got), comment: toJSON(comment) }) |