Fixing some tests from internal test suite.
This commit is contained in:
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
|
// 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