diff options
author | Linus Groh <mail@linusgroh.de> | 2020-04-10 14:38:59 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-10 15:51:39 +0200 |
commit | 0243ac5d049c5fa53979b47125d15fa6265c5243 (patch) | |
tree | 368d3412240b2208d7cf825c95451c88001c3238 /Libraries/LibJS | |
parent | 32c27afdf04938762e16fcdf3ae06a38a286090c (diff) | |
download | serenity-0243ac5d049c5fa53979b47125d15fa6265c5243.zip |
LibJS: Remove mock String.prototype from tests
Diffstat (limited to 'Libraries/LibJS')
-rw-r--r-- | Libraries/LibJS/Tests/String.prototype.toLowerCase.js | 3 | ||||
-rw-r--r-- | Libraries/LibJS/Tests/String.prototype.toUpperCase.js | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Libraries/LibJS/Tests/String.prototype.toLowerCase.js b/Libraries/LibJS/Tests/String.prototype.toLowerCase.js index f0969cfaf7..a1f6b58993 100644 --- a/Libraries/LibJS/Tests/String.prototype.toLowerCase.js +++ b/Libraries/LibJS/Tests/String.prototype.toLowerCase.js @@ -1,7 +1,4 @@ try { - // FIXME: Remove once we have the global String object - var String = { prototype: Object.getPrototypeOf("") }; - assert(String.prototype.toLowerCase.length === 0); assert("foo".toLowerCase() === "foo"); diff --git a/Libraries/LibJS/Tests/String.prototype.toUpperCase.js b/Libraries/LibJS/Tests/String.prototype.toUpperCase.js index 98dba73e5f..2a68e1e770 100644 --- a/Libraries/LibJS/Tests/String.prototype.toUpperCase.js +++ b/Libraries/LibJS/Tests/String.prototype.toUpperCase.js @@ -1,7 +1,4 @@ try { - // FIXME: Remove once we have the global String object - var String = { prototype: Object.getPrototypeOf("") }; - assert(String.prototype.toUpperCase.length === 0); assert("foo".toUpperCase() === "FOO"); |