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

Unified Diff: tests/corelib/regexp/bol-with-multiline_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/bol-with-multiline_test.dart
diff --git a/tests/corelib/regexp/bol-with-multiline_test.dart b/tests/corelib/regexp/bol-with-multiline_test.dart
index 46b0ea5d42399d56cd7306dd1596fe64566d660f..e43a618102e3e733c86e238113f14b99bb7b724b 100644
--- a/tests/corelib/regexp/bol-with-multiline_test.dart
+++ b/tests/corelib/regexp/bol-with-multiline_test.dart
@@ -27,13 +27,14 @@ import 'package:expect/expect.dart';
void main() {
description(
- 'Test for beginning of line (BOL or ^) matching in a multiline string</a>'
- );
+ 'Test for beginning of line (BOL or ^) matching in a multiline string</a>');
var s = "aced\nabc";
shouldBeNull(firstMatch(s, new RegExp(r"^abc")));
shouldBe(firstMatch(s, new RegExp(r"^abc", multiLine: true)), ["abc"]);
shouldBeNull(firstMatch(s, new RegExp(r"(^|X)abc")));
- shouldBe(firstMatch(s, new RegExp(r"(^|X)abc", multiLine: true)), ["abc",""]);
- shouldBe(firstMatch(s, new RegExp(r"(^a|Xa)bc", multiLine: true)), ["abc","a"]);
+ shouldBe(
+ firstMatch(s, new RegExp(r"(^|X)abc", multiLine: true)), ["abc", ""]);
+ shouldBe(
+ firstMatch(s, new RegExp(r"(^a|Xa)bc", multiLine: true)), ["abc", "a"]);
}

Powered by Google App Engine
This is Rietveld 408576698