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
|
||||
// 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);
|
||||
|
||||
Reference in New Issue
Block a user