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

Unified Diff: tests/language/adjacent_string_literals_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/adjacent_string_literals_test.dart
diff --git a/tests/language/adjacent_string_literals_test.dart b/tests/language/adjacent_string_literals_test.dart
index dacdc8187186f2d61cde68751cd7fe2513d894b5..48f8ba2bd1cf50f0ff02cde6b0142fe1096ca259 100644
--- a/tests/language/adjacent_string_literals_test.dart
+++ b/tests/language/adjacent_string_literals_test.dart
@@ -60,27 +60,41 @@ testInterpolation() {
}
testMultiline() {
- Expect.equals("abe",
- "a"
- "b"
- "e");
- Expect.equals("a b e",
- "a "
- "b "
- "e");
- Expect.equals("a b e",
- "a"
- " b"
- " e");
-
- Expect.equals("abe", """
-a""" "b" "e");
- Expect.equals("a b e", """
-a""" " b" " e");
-
- Expect.equals("abe", """
-a""" """
-b""" """
+ Expect.equals(
+ "abe",
+ "a"
+ "b"
+ "e");
+ Expect.equals(
+ "a b e",
+ "a "
+ "b "
+ "e");
+ Expect.equals(
+ "a b e",
+ "a"
+ " b"
+ " e");
+
+ Expect.equals(
+ "abe",
+ """
+a"""
+ "b"
+ "e");
+ Expect.equals(
+ "a b e",
+ """
+a"""
+ " b"
+ " e");
+
+ Expect.equals(
+ "abe",
+ """
+a"""
+ """
+b"""
+ """
e""");
}
-

Powered by Google App Engine
This is Rietveld 408576698