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

Unified Diff: tests/corelib/regexp/lastindex_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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
Index: tests/corelib/regexp/lastindex_test.dart
diff --git a/tests/corelib/regexp/lastindex_test.dart b/tests/corelib/regexp/lastindex_test.dart
index 87f9a184c5760784f615f420b04d8c1534d9a5d9..fd574299c17c5597cf7ec6f122a99091669a3b4a 100644
--- a/tests/corelib/regexp/lastindex_test.dart
+++ b/tests/corelib/regexp/lastindex_test.dart
@@ -33,12 +33,12 @@ void main() {
var accumulate = "";
var match;
for (var match in re.allMatches(" abcdefg"))
- accumulate += match.group(0) + "; ";
+ accumulate += match.group(0) + "; ";
assertEquals(accumulate, "abcdefg; ");
re = new RegExp(r"\d");
accumulate = "";
for (var match in re.allMatches("123456789"))
- accumulate += match.group(0) + "; ";
+ accumulate += match.group(0) + "; ";
assertEquals(accumulate, "1; 2; 3; 4; 5; 6; 7; 8; 9; ");
}

Powered by Google App Engine
This is Rietveld 408576698