mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
test-js: Use prettier and format all files
This commit is contained in:
committed by
Andreas Kling
parent
e532888242
commit
6d58c48c2f
@@ -3,28 +3,27 @@
|
||||
load("test-common.js");
|
||||
|
||||
try {
|
||||
assert(isStrictMode());
|
||||
|
||||
(function () {
|
||||
assert(isStrictMode());
|
||||
})();
|
||||
|
||||
(function() {
|
||||
assert(isStrictMode());
|
||||
})();
|
||||
(function () {
|
||||
"use strict";
|
||||
assert(isStrictMode());
|
||||
})();
|
||||
|
||||
(function() {
|
||||
"use strict";
|
||||
assert(isStrictMode());
|
||||
})();
|
||||
(() => {
|
||||
assert(isStrictMode());
|
||||
})();
|
||||
|
||||
(() => {
|
||||
"use strict";
|
||||
assert(isStrictMode());
|
||||
})();
|
||||
|
||||
(() => {
|
||||
assert(isStrictMode());
|
||||
})();
|
||||
|
||||
(() => {
|
||||
"use strict";
|
||||
assert(isStrictMode());
|
||||
})();
|
||||
|
||||
console.log("PASS");
|
||||
console.log("PASS");
|
||||
} catch (e) {
|
||||
console.log("FAIL: " + e);
|
||||
console.log("FAIL: " + e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user