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

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

Issue 2765893003: Fix warnings_checker.dart handling of multitests (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 a957eb8f70f6c4c107bce8f0c5f65f10d86119d7..bc459e911ae441217e242fec8a12d0acd082e03d 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