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

Unified Diff: tests/lib_strong/mirrors/metadata_constructor_arguments_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: 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_strong/mirrors/metadata_constructor_arguments_test.dart
diff --git a/tests/lib_strong/mirrors/metadata_constructor_arguments_test.dart b/tests/lib_strong/mirrors/metadata_constructor_arguments_test.dart
index e47e1a9ebef7c311116749d1ae8f95fac2a6a806..907a801e4f434144711109531ef172306d26ee5c 100644
--- a/tests/lib_strong/mirrors/metadata_constructor_arguments_test.dart
+++ b/tests/lib_strong/mirrors/metadata_constructor_arguments_test.dart
@@ -15,7 +15,7 @@ class Tag {
const Tag({named}) : this.name = named;
}
-@Tag(named: undefined) /// 01: compile-time error
+@Tag(named: undefined) //# 01: compile-time error
class A {}
@Tag(named: 'valid')
@@ -26,32 +26,32 @@ class C {
static const STATIC_FIELD = 3;
}
-@Tag(named: D.instanceMethod()) /// 02: compile-time error
+@Tag(named: D.instanceMethod()) //# 02: compile-time error
class D {
instanceMethod() {}
}
-@Tag(named: instanceField) /// 03: compile-time error
+@Tag(named: instanceField) //# 03: compile-time error
class E {
var instanceField;
}
-@Tag(named: F.nonConstStaticField) /// 04: compile-time error
+@Tag(named: F.nonConstStaticField) //# 04: compile-time error
class F {
static var nonConstStaticField = 6;
}
-@Tag(named: instanceMethod) /// 05: compile-time error
+@Tag(named: instanceMethod) //# 05: compile-time error
class G {
instanceMethod() {}
}
-@Tag(named: this) /// 06: compile-time error
+@Tag(named: this) //# 06: compile-time error
class H {
instanceMethod() {}
}
-@Tag(named: super) /// 07: compile-time error
+@Tag(named: super) //# 07: compile-time error
class I {
instanceMethod() {}
}

Powered by Google App Engine
This is Rietveld 408576698