mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +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
@@ -16,22 +16,13 @@ test("basic functionality", () => {
|
||||
test("errors", () => {
|
||||
expect(() => {
|
||||
String.fromCodePoint(NaN);
|
||||
}).toThrowWithMessage(
|
||||
RangeError,
|
||||
"must be an integer no less than 0 and no greater than 0x10FFFF"
|
||||
);
|
||||
}).toThrowWithMessage(RangeError, "must be an integer no less than 0 and no greater than 0x10FFFF");
|
||||
|
||||
expect(() => {
|
||||
String.fromCodePoint(-5);
|
||||
}).toThrowWithMessage(
|
||||
RangeError,
|
||||
"must be an integer no less than 0 and no greater than 0x10FFFF"
|
||||
);
|
||||
}).toThrowWithMessage(RangeError, "must be an integer no less than 0 and no greater than 0x10FFFF");
|
||||
|
||||
expect(() => {
|
||||
String.fromCodePoint(0x123ffff);
|
||||
}).toThrowWithMessage(
|
||||
RangeError,
|
||||
"must be an integer no less than 0 and no greater than 0x10FFFF"
|
||||
);
|
||||
}).toThrowWithMessage(RangeError, "must be an integer no less than 0 and no greater than 0x10FFFF");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user