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

Unified Diff: tests/language/constructor_return_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/constructor_return_test.dart
diff --git a/tests/language/constructor_return_test.dart b/tests/language/constructor_return_test.dart
index a48507dc34e133c02ecf678ad85ec21125f4b530..4361a53cf89e28b9e77f5bbc80253aab690369fc 100644
--- a/tests/language/constructor_return_test.dart
+++ b/tests/language/constructor_return_test.dart
@@ -10,26 +10,26 @@ class A {
int x;
A(this.x) { return; }
A.test1(this.x) {
- return this; /// 01: compile-time error
+ return this; // /// 01: compile-time error
}
A.test2(this.x) {
- return null; /// 02: compile-time error
+ return null; // /// 02: compile-time error
}
int foo(int y) => x + y;
}
class B {
- B() => null; /// 03: compile-time error
+ B() => null; // /// 03: compile-time error
}
class C {
int value;
- C() : value = 1 { return null; } /// 04: compile-time error
+ C() : value = 1 { return null; } // /// 04: compile-time error
}
class D {
int value;
- D(): value = 1 => null; /// 05: compile-time error
+ D(): value = 1 => null; // /// 05: compile-time error
}
main() {

Powered by Google App Engine
This is Rietveld 408576698