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

Unified Diff: tests/lib/mirrors/metadata_nested_constructor_call_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/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 7b50b6796f60bbe2348b44c478e965f11b2cd10d..ae2f98f44823bfa988cdaf9571b66f6aaf797e1c 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).

Powered by Google App Engine
This is Rietveld 408576698