1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:47:45 +00:00

Everywhere: Fix spelling mistakes

This commit is contained in:
mjz19910 2022-01-07 05:04:05 -07:00 committed by Linus Groh
parent 168063819d
commit 10ec98dd38
56 changed files with 90 additions and 90 deletions

View file

@ -273,7 +273,7 @@ describe("dayPeriod", () => {
describe("hour", () => {
// prettier-ignore
// FIXME: The 2-digit results are supposed to include {ampm}. These results are acheived from the "HH"
// FIXME: The 2-digit results are supposed to include {ampm}. These results are achieved from the "HH"
// pattern, which should only be applied to 24-hour cycles.
const data = [
{ hour: "2-digit", en0: "05", en1: "07", ar0: "٠٥", ar1: "٠٧" },

View file

@ -3,7 +3,7 @@ test("length is 2", () => {
});
describe("errors", () => {
test("non-object protpotype value", () => {
test("non-object prototype value", () => {
expect(() => Object.create(42)).toThrowWithMessage(
TypeError,
"Prototype must be an object or null"

View file

@ -64,7 +64,7 @@ describe("only allowed in async functions", () => {
expect("(function* () { for await (const v of []) return v; })").not.toEval();
});
test("async genrator functions", () => {
test("async generator functions", () => {
expect("async function* foo() { for await (const v of []) yield v; }").toEval();
expect("(async function* () { for await (const v of []) yield v; })").toEval();
});