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

Unified Diff: tests/lib_strong/mirrors/method_mirror_source_line_ending_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/lib_strong/mirrors/method_mirror_source_line_ending_test.dart
diff --git a/tests/lib_strong/mirrors/method_mirror_source_line_ending_test.dart b/tests/lib_strong/mirrors/method_mirror_source_line_ending_test.dart
index c0593979c9fca8cca1fe30a2d61c154acd0db0ee..4e4e8a4ba2f79e6a4fd6b9b95ec970e1d8393fa8 100644
--- a/tests/lib_strong/mirrors/method_mirror_source_line_ending_test.dart
+++ b/tests/lib_strong/mirrors/method_mirror_source_line_ending_test.dart
@@ -20,12 +20,12 @@ main() {
Expect.stringEquals('oneLineCRLF(x) => x;', sourceOf(oneLineCRLF));
// Source includes line breaks.
- Expect.stringEquals('multiLineLF(y) {\n return y + 1;\n}',
- sourceOf(multiLineLF));
- Expect.stringEquals('multiLineCR(y) {\r return y + 1;\r}',
- sourceOf(multiLineCR));
- Expect.stringEquals('multiLineCRLF(y) {\r\n return y + 1;\r\n}',
- sourceOf(multiLineCRLF));
+ Expect.stringEquals(
+ 'multiLineLF(y) {\n return y + 1;\n}', sourceOf(multiLineLF));
+ Expect.stringEquals(
+ 'multiLineCR(y) {\r return y + 1;\r}', sourceOf(multiLineCR));
+ Expect.stringEquals(
+ 'multiLineCRLF(y) {\r\n return y + 1;\r\n}', sourceOf(multiLineCRLF));
// First and last characters separated from middle by line breaks.
Expect.stringEquals('a\n(){\n}', sourceOf(a));

Powered by Google App Engine
This is Rietveld 408576698