Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(912)

Unified Diff: tests/compiler/dart2js/type_guard_unuser_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/rewrite_better_user_test.dart ('k') | tests/compiler/dart2js/value_range_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_guard_unuser_test.dart
diff --git a/tests/compiler/dart2js/type_guard_unuser_test.dart b/tests/compiler/dart2js/type_guard_unuser_test.dart
index 199968f4b13e6be24fa2183c568276fcfdbfb674..c4922ab8d11b543c8978bd84e1d7ea861f8a1e92 100644
--- a/tests/compiler/dart2js/type_guard_unuser_test.dart
+++ b/tests/compiler/dart2js/type_guard_unuser_test.dart
@@ -42,13 +42,13 @@ foo(int a, int b) {
main() {
String generated = compile(TEST_ONE, entry: 'foo');
RegExp regexp = new RegExp(getIntTypeCheck(anyIdentifier));
- Iterator<Match> matches = regexp.allMatches(generated).iterator();
+ Iterator<Match> matches = regexp.allMatches(generated).iterator;
checkNumberOfMatches(matches, 0);
Expect.isTrue(generated.contains(r'return a === true ? $.foo(2) : b;'));
generated = compile(TEST_TWO, entry: 'foo');
regexp = new RegExp("foo\\(1\\)");
- matches = regexp.allMatches(generated).iterator();
+ matches = regexp.allMatches(generated).iterator;
checkNumberOfMatches(matches, 1);
generated = compile(TEST_THREE, entry: 'foo');
« no previous file with comments | « tests/compiler/dart2js/rewrite_better_user_test.dart ('k') | tests/compiler/dart2js/value_range_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698