Fixing some tests from internal test suite.
This commit is contained in:
@@ -12,6 +12,5 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
var a = new String('example')
|
var a = new String('example');
|
||||||
var c = toString in a
|
assert('toString' in a);
|
||||||
assert(!c)
|
|
||||||
|
|||||||
@@ -12,6 +12,5 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
var a = new String('example')
|
var a = new String('example');
|
||||||
var c = toString in a
|
assert(!('toString.' in a));
|
||||||
assert(!c)
|
|
||||||
|
|||||||
@@ -12,4 +12,4 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
assert(string("abcd").indexOf("ab", 1) === -1 ? 1 : 0);
|
assert(String("abcd").indexOf("ab", 1) === -1 ? 1 : 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user