mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
Meta: Increase the line length enforced by prettier to 120
This matches our coding style recommendation in CodingStyle.md, and matches our python formatting.
This commit is contained in:
Notes:
github-actions[bot]
2025-10-31 23:56:51 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/019c529c071 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6654
@@ -17,19 +17,12 @@ test("JSON.rawJSON basic functionality", () => {
|
||||
|
||||
expect(JSON.stringify({ 42: JSON.rawJSON(37) })).toBe('{"42":37}');
|
||||
expect(JSON.stringify({ x: JSON.rawJSON(1), y: JSON.rawJSON(2) })).toBe('{"x":1,"y":2}');
|
||||
expect(JSON.stringify({ x: { x: JSON.rawJSON(1), y: JSON.rawJSON(2) } })).toBe(
|
||||
'{"x":{"x":1,"y":2}}'
|
||||
);
|
||||
expect(JSON.stringify({ x: { x: JSON.rawJSON(1), y: JSON.rawJSON(2) } })).toBe('{"x":{"x":1,"y":2}}');
|
||||
|
||||
expect(JSON.stringify([JSON.rawJSON(1), JSON.rawJSON(1.1)])).toBe("[1,1.1]");
|
||||
expect(
|
||||
JSON.stringify([
|
||||
JSON.rawJSON('"1"'),
|
||||
JSON.rawJSON(true),
|
||||
JSON.rawJSON(null),
|
||||
JSON.rawJSON(false),
|
||||
])
|
||||
).toBe('["1",true,null,false]');
|
||||
expect(JSON.stringify([JSON.rawJSON('"1"'), JSON.rawJSON(true), JSON.rawJSON(null), JSON.rawJSON(false)])).toBe(
|
||||
'["1",true,null,false]'
|
||||
);
|
||||
expect(JSON.stringify([{ x: JSON.rawJSON(1), y: JSON.rawJSON(1) }])).toBe('[{"x":1,"y":1}]');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user