| Index: tests/corelib/core_runtime_types_test.dart
|
| diff --git a/tests/corelib/core_runtime_types_test.dart b/tests/corelib/core_runtime_types_test.dart
|
| index ee91954579c45a707b24a5b377b9d677e59a5842..017df05110dcda9b37d48fc9e53a3a4eacd9d02e 100644
|
| --- a/tests/corelib/core_runtime_types_test.dart
|
| +++ b/tests/corelib/core_runtime_types_test.dart
|
| @@ -83,9 +83,10 @@ class CoreRuntimeTypesTest {
|
| static testOperatorErrors() {
|
| var objs = [1, '2', [3], null, true, new Map()];
|
| for (var i=0; i < objs.length; i++) {
|
| - for (var j=i+1; j < objs.length; j++) {
|
| + for (var j= i + 1; j < objs.length; j++) {
|
| testBinaryOperatorErrors(objs[i], objs[j]);
|
| - testBinaryOperatorErrors(objs[j], objs[i]);
|
| + // Allow "String * int".
|
| + if (j > 2) testBinaryOperatorErrors(objs[j], objs[i]);
|
| }
|
| if (objs[i] != 1) {
|
| testUnaryOperatorErrors(objs[i]);
|
|
|