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

Unified Diff: tests/language/bad_raw_string_negative_test.dart

Issue 340703003: Prevent double reporting on hex, strings, and multiline comments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comments and comments Created 6 years, 4 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/compiler/dart2js/message_kind_helper.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/bad_raw_string_negative_test.dart
diff --git a/tests/compiler/dart2js/path with spaces/file with spaces.dart b/tests/language/bad_raw_string_negative_test.dart
similarity index 73%
copy from tests/compiler/dart2js/path with spaces/file with spaces.dart
copy to tests/language/bad_raw_string_negative_test.dart
index b0cc20402f823946fa54730f2bb581c9bf58365a..89b4659e838edb25d917724b0853233f308f67c3 100644
--- a/tests/compiler/dart2js/path with spaces/file with spaces.dart
+++ b/tests/language/bad_raw_string_negative_test.dart
@@ -2,8 +2,8 @@
// 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.
-import 'library space/lib with spaces.dart';
-
main() {
- if (foo() != 499) throw "bad value";
+ // Raw String may not contain newline (may not be multi-line).
+ print(r'
+');
}
« no previous file with comments | « tests/compiler/dart2js/message_kind_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698