Fixing some tests from internal test suite.

This commit is contained in:
Ruben Ayrapetyan committed 2014-10-20 17:31:40 +04:00
1 parent c7f1e6b007
commit 9c20969cfc
3 files changed
+5 -7

No files matched your search

@@ -12,6 +12,5 @@
// See the License for the specific language governing permissions and
// limitations under the License.
var a = new String('example')
var c = toString in a
assert(!c)
var a = new String('example');
assert('toString' in a);
@@ -12,6 +12,5 @@
// See the License for the specific language governing permissions and
// limitations under the License.
var a = new String('example')
var c = toString in a
assert(!c)
var a = new String('example');
assert(!('toString.' in a));
@@ -12,4 +12,4 @@
// See the License for the specific language governing permissions and
// limitations under the License.
assert(string("abcd").indexOf("ab", 1) === -1 ? 1 : 0);
assert(String("abcd").indexOf("ab", 1) === -1 ? 1 : 0);