mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
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.
This commit is contained in:
committed by
Andreas Kling
parent
4233c8662b
commit
bc40908d32
@@ -1,5 +1,3 @@
|
||||
function assert(x) { if (!x) console.log("FAIL"); }
|
||||
|
||||
try {
|
||||
i < 3;
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user