mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:17:35 +00:00
LibJS: Remove mock String.prototype from tests
This commit is contained in:
parent
32c27afdf0
commit
0243ac5d04
2 changed files with 0 additions and 6 deletions
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue