mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
test-js: Use prettier and format all files
This commit is contained in:
committed by
Andreas Kling
parent
e532888242
commit
6d58c48c2f
@@ -1,14 +1,11 @@
|
||||
load("test-common.js");
|
||||
|
||||
try {
|
||||
var j = 0;
|
||||
for (var i = 0; i < 9; ++i) {
|
||||
if (i == 3)
|
||||
continue;
|
||||
++j;
|
||||
}
|
||||
assert(j == 8);
|
||||
console.log("PASS");
|
||||
} catch {
|
||||
}
|
||||
|
||||
var j = 0;
|
||||
for (var i = 0; i < 9; ++i) {
|
||||
if (i == 3) continue;
|
||||
++j;
|
||||
}
|
||||
assert(j == 8);
|
||||
console.log("PASS");
|
||||
} catch {}
|
||||
|
||||
Reference in New Issue
Block a user