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

Unified Diff: tests/corelib/regexp/dotstar_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/dotstar_test.dart
diff --git a/tests/corelib/regexp/dotstar_test.dart b/tests/corelib/regexp/dotstar_test.dart
index 16f63f0d9a32b445850f8d0265aa7b33237a710b..33e8107997a3f020f79432daa4ea87bee6ff579c 100644
--- a/tests/corelib/regexp/dotstar_test.dart
+++ b/tests/corelib/regexp/dotstar_test.dart
@@ -107,10 +107,11 @@ void main() {
var regexp8 = new RegExp(r"^(.*)blah.*$");
shouldBeNull(regexp8.firstMatch('test'));
- shouldBe(regexp8.firstMatch('blah'), ['blah','']);
- shouldBe(regexp8.firstMatch('1blah'), ['1blah','1']);
- shouldBe(regexp8.firstMatch('blah1'), ['blah1','']);
- shouldBe(regexp8.firstMatch('blah blah blah'), ['blah blah blah','blah blah ']);
+ shouldBe(regexp8.firstMatch('blah'), ['blah', '']);
+ shouldBe(regexp8.firstMatch('1blah'), ['1blah', '1']);
+ shouldBe(regexp8.firstMatch('blah1'), ['blah1', '']);
+ shouldBe(
+ regexp8.firstMatch('blah blah blah'), ['blah blah blah', 'blah blah ']);
shouldBeNull(regexp8.firstMatch('blah\nsecond'));
shouldBeNull(regexp8.firstMatch('first\nblah'));
shouldBeNull(regexp8.firstMatch('first\nblah\nthird'));

Powered by Google App Engine
This is Rietveld 408576698