summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-06-27 22:51:39 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-27 22:51:39 +0200
commit844efde54b670e0b3570c833ec031cffa231503a (patch)
tree29d7f702f697ce6af9b4564f8d6b99118be0d32e /Userland/Libraries/LibJS
parentcd53d046b25f7a38b2bf0cf9e38db3762ca79819 (diff)
downloadserenity-844efde54b670e0b3570c833ec031cffa231503a.zip
LibJS: Unbreak test-js test that depended on function object class name
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/Symbol/Symbol.keyFor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Tests/builtins/Symbol/Symbol.keyFor.js b/Userland/Libraries/LibJS/Tests/builtins/Symbol/Symbol.keyFor.js
index 8b04f652bc..44404fde9d 100644
--- a/Userland/Libraries/LibJS/Tests/builtins/Symbol/Symbol.keyFor.js
+++ b/Userland/Libraries/LibJS/Tests/builtins/Symbol/Symbol.keyFor.js
@@ -15,7 +15,7 @@ test("bad argument values", () => {
[{}, "[object Object]"],
[true, "true"],
["foobar", "foobar"],
- [function () {}, "[object ScriptFunction]"], // FIXME: Better function stringification
+ [function () {}, "[object OrdinaryFunctionObject]"], // FIXME: Better function stringification
].forEach(testCase => {
expect(() => {
Symbol.keyFor(testCase[0]);