diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Tests/builtins/Reflect/Reflect.get.js')
-rw-r--r-- | Userland/Libraries/LibJS/Tests/builtins/Reflect/Reflect.get.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Tests/builtins/Reflect/Reflect.get.js b/Userland/Libraries/LibJS/Tests/builtins/Reflect/Reflect.get.js index b26e9fe888..0b649a3d25 100644 --- a/Userland/Libraries/LibJS/Tests/builtins/Reflect/Reflect.get.js +++ b/Userland/Libraries/LibJS/Tests/builtins/Reflect/Reflect.get.js @@ -7,7 +7,7 @@ describe("errors", () => { [null, undefined, "foo", 123, NaN, Infinity].forEach(value => { expect(() => { Reflect.get(value); - }).toThrowWithMessage(TypeError, "First argument of Reflect.get() must be an object"); + }).toThrowWithMessage(TypeError, `${value} is not an object`); }); }); }); |