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

Unified Diff: tests/lib_strong/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_strong/mirrors/metadata_nested_constructor_call_test.dart
diff --git a/tests/lib_strong/mirrors/metadata_nested_constructor_call_test.dart b/tests/lib_strong/mirrors/metadata_nested_constructor_call_test.dart
index b1a6cc514bda30e72c3b6aa2c9ad679236378be4..9ca1024b1351c6709007e649092344b5326cd467 100644
--- a/tests/lib_strong/mirrors/metadata_nested_constructor_call_test.dart
+++ b/tests/lib_strong/mirrors/metadata_nested_constructor_call_test.dart
@@ -29,33 +29,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