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

Unified Diff: tests/corelib_strong/regexp/find-first-asserted_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_strong/regexp/find-first-asserted_test.dart
diff --git a/tests/corelib_strong/regexp/find-first-asserted_test.dart b/tests/corelib_strong/regexp/find-first-asserted_test.dart
index 9dbc9f8a69c48a6aae107d7c5c202efd79457b91..e985bf0a2dcc5340a2228046290745588c8bf7fb 100644
--- a/tests/corelib_strong/regexp/find-first-asserted_test.dart
+++ b/tests/corelib_strong/regexp/find-first-asserted_test.dart
@@ -27,9 +27,11 @@ import 'package:expect/expect.dart';
void main() {
description(
- 'Tests some regular expressions that were doing the wrong thing with the "find first asserted" optimization.'
- );
+ 'Tests some regular expressions that were doing the wrong thing with the "find first asserted" optimization.');
- shouldBe(new RegExp(r".*<body>(.*)</body>.*").firstMatch("foo<body>bar</body>baz"), ["foo<body>bar</body>baz", "bar"]);
- shouldBe(new RegExp(r"\s*<!--([\s\S]*)//\s*-->\s*").firstMatch("<!--// -->"), ["<!--// -->", ""]);
+ shouldBe(
+ new RegExp(r".*<body>(.*)</body>.*").firstMatch("foo<body>bar</body>baz"),
+ ["foo<body>bar</body>baz", "bar"]);
+ shouldBe(new RegExp(r"\s*<!--([\s\S]*)//\s*-->\s*").firstMatch("<!--// -->"),
+ ["<!--// -->", ""]);
}

Powered by Google App Engine
This is Rietveld 408576698