Fixing some tests from internal test suite.

This commit is contained in:
Ruben Ayrapetyan
2014-10-20 16:25:26 +04:00
parent c7f1e6b007
commit 9c20969cfc
3 changed files with 5 additions and 7 deletions
@@ -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);