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

Unified Diff: tests/language/adjacent_const_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_const_string_literals_test.dart
diff --git a/tests/language/adjacent_const_string_literals_test.dart b/tests/language/adjacent_const_string_literals_test.dart
index 3111c291ed64736817d5f85e4005af11c74ed81b..0af09ba311b556ba2f7896c668f402e7d799fd50 100644
--- a/tests/language/adjacent_const_string_literals_test.dart
+++ b/tests/language/adjacent_const_string_literals_test.dart
@@ -4,7 +4,6 @@
import "package:expect/expect.dart";
-
class Conster {
const Conster(this.value);
@@ -72,27 +71,47 @@ testInterpolation() {
}
testMultiline() {
- Expect.equals("abe",
- (const Conster("a"
- "b"
- "e")).toString());
- Expect.equals("a b e",
- (const Conster("a "
- "b "
- "e")).toString());
- Expect.equals("a b e",
- (const Conster("a"
- " b"
- " e")).toString());
-
- Expect.equals("abe", (const Conster("""
-a""" "b" "e")).toString());
- Expect.equals("a b e", (const Conster("""
-a""" " b" " e")).toString());
-
- Expect.equals("abe", (const Conster("""
-a""" """
-b""" """
-e""")).toString());
+ Expect.equals(
+ "abe",
+ (const Conster("a"
+ "b"
+ "e"))
+ .toString());
+ Expect.equals(
+ "a b e",
+ (const Conster("a "
+ "b "
+ "e"))
+ .toString());
+ Expect.equals(
+ "a b e",
+ (const Conster("a"
+ " b"
+ " e"))
+ .toString());
+
+ Expect.equals(
+ "abe",
+ (const Conster("""
+a"""
+ "b"
+ "e"))
+ .toString());
+ Expect.equals(
+ "a b e",
+ (const Conster("""
+a"""
+ " b"
+ " e"))
+ .toString());
+
+ Expect.equals(
+ "abe",
+ (const Conster("""
+a"""
+ """
+b"""
+ """
+e"""))
+ .toString());
}
-

Powered by Google App Engine
This is Rietveld 408576698