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

Unified Diff: tests/language/async_or_generator_return_type_stacktrace_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/async_or_generator_return_type_stacktrace_test.dart
diff --git a/tests/language/async_or_generator_return_type_stacktrace_test.dart b/tests/language/async_or_generator_return_type_stacktrace_test.dart
index 1fa3d9378e4697437f910b9b007b46df615a6ad5..8f8dc4b34d25f4e2af5e06ae1d05197173ff82bc 100644
--- a/tests/language/async_or_generator_return_type_stacktrace_test.dart
+++ b/tests/language/async_or_generator_return_type_stacktrace_test.dart
@@ -4,13 +4,13 @@
import "package:expect/expect.dart";
-void badReturnTypeAsync() async {} /// 01: static type warning
-void badReturnTypeAsyncStar() async* {} /// 02: static type warning
-void badReturnTypeSyncStar() sync* {} /// 03: static type warning
+void badReturnTypeAsync() async {} // /// 01: static type warning
+void badReturnTypeAsyncStar() async* {} // /// 02: static type warning
+void badReturnTypeSyncStar() sync* {} // /// 03: static type warning
main() {
try {
- badReturnTypeAsync(); /// 01: continued
+ badReturnTypeAsync(); // /// 01: continued
} catch(e, st) {
Expect.isTrue(e is TypeError, "wrong exception type");
Expect.isTrue(st.toString().contains("badReturnTypeAsync"),
@@ -18,7 +18,7 @@ main() {
}
try {
- badReturnTypeAsyncStar(); /// 02: continued
+ badReturnTypeAsyncStar(); // /// 02: continued
} catch(e, st) {
Expect.isTrue(e is TypeError, "wrong exception type");
Expect.isTrue(st.toString().contains("badReturnTypeAsyncStar"),
@@ -26,7 +26,7 @@ main() {
}
try {
- badReturnTypeSyncStar(); /// 03: continued
+ badReturnTypeSyncStar(); // /// 03: continued
} catch(e, st) {
Expect.isTrue(e is TypeError, "wrong exception type");
Expect.isTrue(st.toString().contains("badReturnTypeSyncStar"),

Powered by Google App Engine
This is Rietveld 408576698