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

Unified Diff: tests/language/bad_raw_string_test.dart

Issue 2763823002: Move spaces from before comments to within comments (Closed)
Patch Set: Fix comments Created 3 years, 9 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/bad_raw_string_test.dart
diff --git a/tests/language/bad_raw_string_test.dart b/tests/language/bad_raw_string_test.dart
index 8c3890d9ec584c7ab2349a599153ef1a0961924d..04bcb5499d6f67dd70206710344ecef54b378b95 100644
--- a/tests/language/bad_raw_string_test.dart
+++ b/tests/language/bad_raw_string_test.dart
@@ -5,19 +5,19 @@
main() {
// Raw String may not contain newline (may not be multi-line).
String x = ''
- r' /// 01: compile-time error
-' /// 01: continued
- r" /// 02: compile-time error
-" /// 02: continued
+ r' // /// 01: compile-time error
+' // /// 01: continued
+ r" // /// 02: compile-time error
+" // /// 02: continued
// Test that a raw string containing just one character, a \n char, fails.
// Enclose the test string in a bigger multiline string, except in case 03:
- ''' /// 03: compile-time error
+ ''' // /// 03: compile-time error
"""
- ''' /// 03: continued
+ ''' // /// 03: continued
r'
'
- ''' /// 03: continued
+ ''' // /// 03: continued
"""
- ''' /// 03: continued
+ ''' // /// 03: continued
;
}

Powered by Google App Engine
This is Rietveld 408576698