diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2020-04-05 05:52:09 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-05 15:28:45 +0200 |
commit | bc40908d32934908ca76686c4288faec0a50c240 (patch) | |
tree | 89c03a6958f0419a009d0853a2931f8b5697f211 /Libraries/LibJS/Tests/function-missing-arg.js | |
parent | 4233c8662b1af9e46568dbd40c4b1a86867c9b97 (diff) | |
download | serenity-bc40908d32934908ca76686c4288faec0a50c240.zip |
LibJS: Use the native assert() implementation now avaiable in 'js -t'
Switch the LibJS test suite to use the native assert implementation
surfaced inside the js repl when it's launched in test mode.
Diffstat (limited to 'Libraries/LibJS/Tests/function-missing-arg.js')
-rw-r--r-- | Libraries/LibJS/Tests/function-missing-arg.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Libraries/LibJS/Tests/function-missing-arg.js b/Libraries/LibJS/Tests/function-missing-arg.js index 8bef98e4f6..48810a38e7 100644 --- a/Libraries/LibJS/Tests/function-missing-arg.js +++ b/Libraries/LibJS/Tests/function-missing-arg.js @@ -1,5 +1,3 @@ -function assert(x) { if (!x) throw 1; } - function foo(a, b) { return a + b; } try { |