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

Unified Diff: tests/language_strong/abstract_getter_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_strong/abstract_getter_test.dart
diff --git a/tests/language_strong/abstract_getter_test.dart b/tests/language_strong/abstract_getter_test.dart
index 6a699f4c8fe294c739a47a155e9d40d9406330e9..964cf80609a54d2732b66246fe8f0660c44c31d4 100644
--- a/tests/language_strong/abstract_getter_test.dart
+++ b/tests/language_strong/abstract_getter_test.dart
@@ -8,7 +8,7 @@ import "package:expect/expect.dart";
class Foo {
// Intentionally abstract:
- get i; /// 01: static type warning
+ get i; // /// 01: static type warning
}
class Bar {
@@ -17,9 +17,9 @@ class Bar {
noMethod(e) => e is NoSuchMethodError;
checkIt(f) {
- Expect.throws(() { f.i = 'hi'; }, noMethod); /// 01: continued
- Expect.throws(() { print(f.i); }, noMethod); /// 01: continued
- Expect.throws(() { print(f.i()); }, noMethod); /// 01: continued
+ Expect.throws(() { f.i = 'hi'; }, noMethod); // /// 01: continued
+ Expect.throws(() { print(f.i); }, noMethod); // /// 01: continued
+ Expect.throws(() { print(f.i()); }, noMethod); // /// 01: continued
}
main() {

Powered by Google App Engine
This is Rietveld 408576698