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

Unified Diff: tests/language/multiline_newline_crlf.dart

Issue 1252443002: Add tests for problem with newline encoding in multiline strings. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « tests/language/multiline_newline_cr.dart ('k') | tests/language/multiline_newline_lf.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/multiline_newline_crlf.dart
diff --git a/tests/compiler/dart2js_extra/deferred_split_lib2.dart b/tests/language/multiline_newline_crlf.dart
similarity index 61%
copy from tests/compiler/dart2js_extra/deferred_split_lib2.dart
copy to tests/language/multiline_newline_crlf.dart
index d690e311ecee452f767aa8ea630e510b8c780bbc..64cd255a70d0630031e5b78eb8c0969dff4204c6 100644
--- a/tests/compiler/dart2js_extra/deferred_split_lib2.dart
+++ b/tests/language/multiline_newline_crlf.dart
@@ -1,9 +1,15 @@
-// Copyright (c) 2015, 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.
-
-// Deferred library loaded by deferred_split_test.dart
-
-import 'deferred_split_lib1.dart';
-
-createA() => new A();
+// Copyright (c) 2015, 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.
+
+library multiline_newline_crlf;
+
+const constantMultilineString = """
+a
+b
+""";
+
+var nonConstantMultilineString = """
+a
+b
+""";
« no previous file with comments | « tests/language/multiline_newline_cr.dart ('k') | tests/language/multiline_newline_lf.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698