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

Unified Diff: tests/lib/mirrors/metadata_nested_constructor_call_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/mirrors/metadata_nested_constructor_call_test.dart
diff --git a/tests/lib/mirrors/metadata_nested_constructor_call_test.dart b/tests/lib/mirrors/metadata_nested_constructor_call_test.dart
index 1ac85d5172c9bf703a89bb17ca1b131bdd72121a..0d772288eeb074957fc054b9f2c1a6e3215f94fb 100644
--- a/tests/lib/mirrors/metadata_nested_constructor_call_test.dart
+++ b/tests/lib/mirrors/metadata_nested_constructor_call_test.dart
@@ -28,33 +28,33 @@ class B {}
@Box(const Box(const Box()))
class C {}
-@Box(const Box(const MutableBox())) // /// 01: compile-time error
+@Box(const Box(const MutableBox())) // //# 01: compile-time error
class D {}
-@Box(const MutableBox(const Box())) // /// 02: compile-time error
+@Box(const MutableBox(const Box())) // //# 02: compile-time error
class E {}
-@Box(Box()) // /// 03: compile-time error
+@Box(Box()) // //# 03: compile-time error
class F {}
-@Box(Box(const Box())) // /// 04: compile-time error
+@Box(Box(const Box())) // //# 04: compile-time error
class G {}
-@Box(Box(const MutableBox())) // /// 05: compile-time error
+@Box(Box(const MutableBox())) // //# 05: compile-time error
class H {}
-@Box(MutableBox(const Box())) // /// 06: compile-time error
+@Box(MutableBox(const Box())) // //# 06: compile-time error
class I {}
final closure = () => 42;
-@Box(closure()) // /// 07: compile-time error
+@Box(closure()) // //# 07: compile-time error
class J {}
-@Box(closure) // /// 08: compile-time error
+@Box(closure) // //# 08: compile-time error
class K {}
function() => 42;
-@Box(function()) // /// 09: compile-time error
+@Box(function()) // //# 09: compile-time error
class L {}
// N.B. This is legal, but @function is not (tested by metadata_allowed_values).
« no previous file with comments | « tests/lib/mirrors/metadata_constructor_arguments_test.dart ('k') | tests/lib/mirrors/metadata_scope_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698