diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-20 20:33:21 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-20 20:33:21 +0200 |
commit | f78a92c5a9425c9b687265615503c066b81f796c (patch) | |
tree | f256c9b4cfa0ffecd741bc2a64ee85e04c2d8426 /Libraries | |
parent | 364ca1f4768cd23e554b418781760d31b23ea643 (diff) | |
download | serenity-f78a92c5a9425c9b687265615503c066b81f796c.zip |
LibJS: Remove default parameter from assertThrowsError() for now
We don't support these yet, and it broke all the tests. :^)
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibJS/Tests/test-common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Tests/test-common.js b/Libraries/LibJS/Tests/test-common.js index cdc1336539..890862e747 100644 --- a/Libraries/LibJS/Tests/test-common.js +++ b/Libraries/LibJS/Tests/test-common.js @@ -36,7 +36,7 @@ function assertNotReached() { * @param {string} [options.name] Expected error name * @param {string} [options.message] Expected error message */ -function assertThrowsError(testFunction, options = {}) { +function assertThrowsError(testFunction, options) { try { testFunction(); assertNotReached(); |