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

Unified Diff: tests/language_strong/raw_string_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/language_strong/raw_string_test.dart
diff --git a/tests/language_strong/raw_string_test.dart b/tests/language_strong/raw_string_test.dart
index b577747851fb764d0b7c6ad775e68c084ec0a572..358f88200bbb871dd682f6b778ab4b8f656a7fd2 100644
--- a/tests/language_strong/raw_string_test.dart
+++ b/tests/language_strong/raw_string_test.dart
@@ -15,15 +15,23 @@ class RawStringTest {
Expect.equals("", r'''''');
Expect.equals("''''", r"''''");
Expect.equals('""""', r'""""');
- Expect.equals("1\n2\n3", r"""1
+ Expect.equals(
+ "1\n2\n3",
+ r"""1
2
3""");
- Expect.equals("1\n2\n3", r'''1
+ Expect.equals(
+ "1\n2\n3",
+ r'''1
2
3''');
- Expect.equals("1", r"""
+ Expect.equals(
+ "1",
+ r"""
1""");
- Expect.equals("1", r'''
+ Expect.equals(
+ "1",
+ r'''
1''');
Expect.equals("'", r"'");
Expect.equals('"', r'"');
@@ -34,11 +42,12 @@ class RawStringTest {
Expect.equals("\\", r'\');
Expect.equals("\${12}", r"${12}");
Expect.equals("\\a\\b\\c\\d\\e\\f\\g\\h\\i\\j\\k\\l\\m",
- r"\a\b\c\d\e\f\g\h\i\j\k\l\m");
+ r"\a\b\c\d\e\f\g\h\i\j\k\l\m");
Expect.equals("\\n\\o\\p\\q\\r\\s\\t\\u\\v\\w\\x\\y\\z",
- r"\n\o\p\q\r\s\t\u\v\w\x\y\z");
+ r"\n\o\p\q\r\s\t\u\v\w\x\y\z");
}
}
+
main() {
RawStringTest.testMain();
}

Powered by Google App Engine
This is Rietveld 408576698