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

Unified Diff: tests/lib/mirrors/initializing_formals_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/lib/mirrors/initializing_formals_test.dart
diff --git a/tests/lib/mirrors/initializing_formals_test.dart b/tests/lib/mirrors/initializing_formals_test.dart
index cbb08123efb448d9580384aec55935d6a79b8eaa..4ebb092318079e9ef3157a9b39b65b45bc46dc8b 100644
--- a/tests/lib/mirrors/initializing_formals_test.dart
+++ b/tests/lib/mirrors/initializing_formals_test.dart
@@ -39,10 +39,10 @@ main() {
pm = mm.parameters.single;
Expect.equals(#intField, pm.simpleName);
Expect.equals(reflectClass(int), pm.type);
- Expect.isFalse(pm.isNamed); /// 01: ok
- Expect.isFalse(pm.isFinal); /// 01: ok
- Expect.isFalse(pm.isOptional); /// 01: ok
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok
+ Expect.isFalse(pm.isNamed); // /// 01: ok
+ Expect.isFalse(pm.isFinal); // /// 01: ok
+ Expect.isFalse(pm.isOptional); // /// 01: ok
+ Expect.isFalse(pm.hasDefaultValue); // /// 01: ok
Expect.isFalse(pm.isPrivate);
Expect.isFalse(pm.isStatic);
Expect.isFalse(pm.isTopLevel);
@@ -51,10 +51,10 @@ main() {
pm = mm.parameters.single;
Expect.equals(#boolField, pm.simpleName);
Expect.equals(reflectClass(bool), pm.type);
- Expect.isTrue(pm.isNamed); /// 01: ok
- Expect.isFalse(pm.isFinal); /// 01: ok
- Expect.isTrue(pm.isOptional); /// 01: ok
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok
+ Expect.isTrue(pm.isNamed); // /// 01: ok
+ Expect.isFalse(pm.isFinal); // /// 01: ok
+ Expect.isTrue(pm.isOptional); // /// 01: ok
+ Expect.isFalse(pm.hasDefaultValue); // /// 01: ok
Expect.isFalse(pm.isPrivate);
Expect.isFalse(pm.isStatic);
Expect.isFalse(pm.isTopLevel);
@@ -63,11 +63,11 @@ main() {
pm = mm.parameters.single;
Expect.equals(#stringField, pm.simpleName);
Expect.equals(reflectClass(String), pm.type);
- Expect.isFalse(pm.isNamed); /// 01: ok
- Expect.isFalse(pm.isFinal); /// 01: ok
- Expect.isTrue(pm.isOptional); /// 01: ok
- Expect.isTrue(pm.hasDefaultValue); /// 01: ok
- Expect.equals('default', pm.defaultValue.reflectee); /// 01: ok
+ Expect.isFalse(pm.isNamed); // /// 01: ok
+ Expect.isFalse(pm.isFinal); // /// 01: ok
+ Expect.isTrue(pm.isOptional); // /// 01: ok
+ Expect.isTrue(pm.hasDefaultValue); // /// 01: ok
+ Expect.equals('default', pm.defaultValue.reflectee); // /// 01: ok
Expect.isFalse(pm.isPrivate);
Expect.isFalse(pm.isStatic);
Expect.isFalse(pm.isTopLevel);
@@ -76,22 +76,22 @@ main() {
pm = mm.parameters.single;
Expect.equals(#tField, pm.simpleName);
Expect.equals(reflectClass(Class).typeVariables.single, pm.type);
- Expect.isFalse(pm.isNamed); /// 01: ok
- Expect.isFalse(pm.isFinal); /// 01: ok
- Expect.isFalse(pm.isOptional); /// 01: ok
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok
+ Expect.isFalse(pm.isNamed); // /// 01: ok
+ Expect.isFalse(pm.isFinal); // /// 01: ok
+ Expect.isFalse(pm.isOptional); // /// 01: ok
+ Expect.isFalse(pm.hasDefaultValue); // /// 01: ok
Expect.isFalse(pm.isPrivate);
Expect.isFalse(pm.isStatic);
Expect.isFalse(pm.isTopLevel);
mm = reflectClass(Class).declarations[#Class.private];
pm = mm.parameters.single;
- Expect.equals(#_privateField, pm.simpleName); /// 03: ok
+ Expect.equals(#_privateField, pm.simpleName); // /// 03: ok
Expect.equals(currentMirrorSystem().dynamicType, pm.type);
- Expect.isFalse(pm.isNamed); /// 01: ok
- Expect.isFalse(pm.isFinal); /// 01: ok
- Expect.isFalse(pm.isOptional); /// 01: ok
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok
+ Expect.isFalse(pm.isNamed); // /// 01: ok
+ Expect.isFalse(pm.isFinal); // /// 01: ok
+ Expect.isFalse(pm.isOptional); // /// 01: ok
+ Expect.isFalse(pm.hasDefaultValue); // /// 01: ok
Expect.isTrue(pm.isPrivate);
Expect.isFalse(pm.isStatic);
Expect.isFalse(pm.isTopLevel);
@@ -100,10 +100,10 @@ main() {
pm = mm.parameters.single;
Expect.equals(#intField, pm.simpleName);
Expect.equals(reflectClass(num), pm.type);
- Expect.isFalse(pm.isNamed); /// 01: ok
- Expect.isFalse(pm.isFinal); /// 01: ok
- Expect.isFalse(pm.isOptional); /// 01: ok
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok
+ Expect.isFalse(pm.isNamed); // /// 01: ok
+ Expect.isFalse(pm.isFinal); // /// 01: ok
+ Expect.isFalse(pm.isOptional); // /// 01: ok
+ Expect.isFalse(pm.hasDefaultValue); // /// 01: ok
Expect.isFalse(pm.isPrivate);
Expect.isFalse(pm.isStatic);
Expect.isFalse(pm.isTopLevel);
@@ -112,10 +112,10 @@ main() {
pm = mm.parameters.single;
Expect.equals(#intField, pm.simpleName);
Expect.equals(reflectClass(int), pm.type);
- Expect.isFalse(pm.isNamed); /// 01: ok
- Expect.isFalse(pm.isFinal); /// 01: ok
- Expect.isFalse(pm.isOptional); /// 01: ok
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok
+ Expect.isFalse(pm.isNamed); // /// 01: ok
+ Expect.isFalse(pm.isFinal); // /// 01: ok
+ Expect.isFalse(pm.isOptional); // /// 01: ok
+ Expect.isFalse(pm.hasDefaultValue); // /// 01: ok
Expect.isFalse(pm.isPrivate);
Expect.isFalse(pm.isStatic);
Expect.isFalse(pm.isTopLevel);
@@ -124,10 +124,10 @@ main() {
pm = mm.parameters.single;
Expect.equals(#intField, pm.simpleName);
Expect.equals(currentMirrorSystem().dynamicType, pm.type); // N.B.
- Expect.isFalse(pm.isNamed); /// 01: ok
- Expect.isFalse(pm.isFinal); /// 01: ok
- Expect.isFalse(pm.isOptional); /// 01: ok
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok
+ Expect.isFalse(pm.isNamed); // /// 01: ok
+ Expect.isFalse(pm.isFinal); // /// 01: ok
+ Expect.isFalse(pm.isOptional); // /// 01: ok
+ Expect.isFalse(pm.hasDefaultValue); // /// 01: ok
Expect.isFalse(pm.isPrivate);
Expect.isFalse(pm.isStatic);
Expect.isFalse(pm.isTopLevel);
@@ -136,10 +136,10 @@ main() {
pm = mm.parameters.single;
Expect.equals(#value, pm.simpleName);
Expect.equals(reflectClass(num), pm.type);
- Expect.isFalse(pm.isNamed); /// 01: ok
- Expect.isFalse(pm.isFinal); // N.B. /// 01: ok
- Expect.isFalse(pm.isOptional); /// 01: ok
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok
+ Expect.isFalse(pm.isNamed); // /// 01: ok
+ Expect.isFalse(pm.isFinal); // N.B. // /// 01: ok
+ Expect.isFalse(pm.isOptional); // /// 01: ok
+ Expect.isFalse(pm.hasDefaultValue); // /// 01: ok
Expect.isFalse(pm.isPrivate);
Expect.isFalse(pm.isStatic);
Expect.isFalse(pm.isTopLevel);
@@ -148,10 +148,10 @@ main() {
pm = mm.parameters.single;
Expect.equals(#value, pm.simpleName);
Expect.equals(reflectClass(num), pm.type);
- Expect.isFalse(pm.isNamed); /// 01: ok
- Expect.isTrue(pm.isFinal); // N.B. /// 01: ok
- Expect.isFalse(pm.isOptional); /// 01: ok
- Expect.isFalse(pm.hasDefaultValue); /// 01: ok
+ Expect.isFalse(pm.isNamed); // /// 01: ok
+ Expect.isTrue(pm.isFinal); // N.B. // /// 01: ok
+ Expect.isFalse(pm.isOptional); // /// 01: ok
+ Expect.isFalse(pm.hasDefaultValue); // /// 01: ok
Expect.isFalse(pm.isPrivate);
Expect.isFalse(pm.isStatic);
Expect.isFalse(pm.isTopLevel);

Powered by Google App Engine
This is Rietveld 408576698