mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
LibJS: Unbreak test-js test that depended on function object class name
This commit is contained in:
parent
cd53d046b2
commit
844efde54b
Notes:
sideshowbarker
2024-07-18 11:25:59 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/844efde54b6
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue