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

Unified Diff: testcases/input/stringliteral.dart

Issue 2500453002: Fix a bug in printing of string literals with escape sequences. (Closed)
Patch Set: Add copyright Created 4 years, 1 month 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
« no previous file with comments | « lib/text/ast_to_text.dart ('k') | testcases/spec-mode/stringliteral.baseline.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testcases/input/stringliteral.dart
diff --git a/testcases/input/stringliteral.dart b/testcases/input/stringliteral.dart
new file mode 100644
index 0000000000000000000000000000000000000000..8e64de25ed1eb1e63133d44258ede8c9a2bd5ae0
--- /dev/null
+++ b/testcases/input/stringliteral.dart
@@ -0,0 +1,11 @@
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+var color = 'brown';
+var thing = 'lazy dog';
+var phrase = "The quick $color fox\njumped over the $thing.\n";
+var adjacent = '$color$color$color';
+var linebreaks = '$color\n$color\n$color';
+var other = '$color\n is \n$color';
+
+main() {}
« no previous file with comments | « lib/text/ast_to_text.dart ('k') | testcases/spec-mode/stringliteral.baseline.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698