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 1997aac1a58941dd5d86fd968e19951f12280f60..a054c4982a152c397dbfc70712fa111014e59ecd 100644 |
--- a/tests/language/adjacent_const_string_literals_test.dart |
+++ b/tests/language/adjacent_const_string_literals_test.dart |
@@ -23,7 +23,7 @@ testEmpty() { |
Expect.equals("", (const Conster("" "" "")).toString()); |
Expect.equals("", (const Conster("" '' "")).toString()); |
Expect.equals("", (const Conster("" "" @"")).toString()); |
- |
+ |
Expect.equals("a", (const Conster("a" "")).toString()); |
Expect.equals("a", (const Conster("a" '')).toString()); |
Expect.equals("a", (const Conster("a" @'')).toString()); |
@@ -31,7 +31,7 @@ testEmpty() { |
Expect.equals("b", (const Conster('b' "")).toString()); |
Expect.equals("b", (const Conster('b' '')).toString()); |
Expect.equals("b", (const Conster('b' @'')).toString()); |
- |
+ |
Expect.equals("c", (const Conster(@'c' "")).toString()); |
Expect.equals("c", (const Conster(@'c' '')).toString()); |
Expect.equals("c", (const Conster(@'c' @'')).toString()); |
@@ -43,13 +43,13 @@ testEmpty() { |
Expect.equals("b", (const Conster('' "b")).toString()); |
Expect.equals("b", (const Conster('' 'b')).toString()); |
Expect.equals("b", (const Conster('' @'b')).toString()); |
- |
+ |
Expect.equals("c", (const Conster(@'' "c")).toString()); |
Expect.equals("c", (const Conster(@'' 'c')).toString()); |
Expect.equals("c", (const Conster(@'' @'c')).toString()); |
} |
-final s = "a"; |
+const s = "a"; |
testInterpolation() { |
Expect.equals(@"ab", (const Conster("$s" "b")).toString()); |
@@ -59,7 +59,7 @@ testInterpolation() { |
Expect.equals(@"-a-b", (const Conster("-$s-" "b")).toString()); |
Expect.equals(@"-a-b", (const Conster('-$s-' "b")).toString()); |
Expect.equals(@"-$s-b", (const Conster(@'-$s-' "b")).toString()); |
- |
+ |
Expect.equals(@"ba", (const Conster('b' "$s")).toString()); |
Expect.equals(@"ba", (const Conster('b' '$s')).toString()); |
Expect.equals(@"b$s", (const Conster('b' @'$s')).toString()); |