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

Unified Diff: tests/compiler/dart2js/pretty_parameter_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/no_duplicate_stub_test.dart ('k') | tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/pretty_parameter_test.dart
diff --git a/tests/compiler/dart2js/pretty_parameter_test.dart b/tests/compiler/dart2js/pretty_parameter_test.dart
index 03f199f57e5fea593a2a57ebe9e5856a8fd2e201..6831370643b6f9ffb30460c83f1f8c5725d49314 100644
--- a/tests/compiler/dart2js/pretty_parameter_test.dart
+++ b/tests/compiler/dart2js/pretty_parameter_test.dart
@@ -99,10 +99,9 @@ main() {
Expect.isTrue(regexp.hasMatch(generated));
regexp = new RegExp(r"a = 2;");
- Iterator matches = regexp.allMatches(generated).iterator();
- Expect.isTrue(matches.hasNext);
- matches.next();
- Expect.isFalse(matches.hasNext);
+ Iterator matches = regexp.allMatches(generated).iterator;
+ Expect.isTrue(matches.moveNext());
+ Expect.isFalse(matches.moveNext);
generated = compile(PARAMETER_INIT, entry: 'foo');
regexp = new RegExp("var result = start;");
« no previous file with comments | « tests/compiler/dart2js/no_duplicate_stub_test.dart ('k') | tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698