Index: tests/compiler/dart2js/array_static_intercept_test.dart |
diff --git a/tests/compiler/dart2js/array_static_intercept_test.dart b/tests/compiler/dart2js/array_static_intercept_test.dart |
index bd0a02f161cdd82ecd1a0f1e49f8724916bc2f13..d53e10b10a5b59faf025855f826e67a15f92f5bc 100644 |
--- a/tests/compiler/dart2js/array_static_intercept_test.dart |
+++ b/tests/compiler/dart2js/array_static_intercept_test.dart |
@@ -18,7 +18,6 @@ main() { |
asyncTest(() => compile(TEST_ONE, entry: 'foo', check: (String generated) { |
Expect.isTrue(generated.contains(r'.add$1(')); |
Expect.isTrue(generated.contains(r'.removeLast$0(')); |
- Expect.isTrue(generated.contains(r'.length'), |
- "Unexpected code to contain '.length':\n$generated"); |
+ Expect.isTrue(generated.contains(r'.length')); |
})); |
} |