diff --git a/Userland/Libraries/LibJS/Tests/test-common.js b/Userland/Libraries/LibJS/Tests/test-common.js index ef84a268db..f7d7eb860f 100644 --- a/Userland/Libraries/LibJS/Tests/test-common.js +++ b/Userland/Libraries/LibJS/Tests/test-common.js @@ -90,7 +90,7 @@ class ExpectationError extends Error { toBeCloseTo(value) { this.__expect( typeof this.target === "number", - () => `toBeCloseTo: expected target of type number, got ${typeof value}` + () => `toBeCloseTo: expected target of type number, got ${typeof this.target}` ); this.__expect( typeof value === "number",