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

Unified Diff: tests/lib/mirrors/metadata_nested_constructor_call_test.dart

Issue 2774783002: Re-land "Format all 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
« no previous file with comments | « tests/lib/mirrors/metadata_allowed_values_test.dart ('k') | tests/lib/mirrors/metadata_scope_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0d772288eeb074957fc054b9f2c1a6e3215f94fb..254c55c861eb3b06c7bc7c6455b43d02f39d4ade 100644
--- a/tests/lib/mirrors/metadata_nested_constructor_call_test.dart
+++ b/tests/lib/mirrors/metadata_nested_constructor_call_test.dart
@@ -16,7 +16,7 @@ class Box {
class MutableBox {
var contents;
- MutableBox([this.contents]); // Not const.
+ MutableBox([this.contents]); // Not const.
}
@Box()
@@ -47,6 +47,7 @@ class H {}
class I {}
final closure = () => 42;
+
@Box(closure()) // //# 07: compile-time error
class J {}
@@ -54,6 +55,7 @@ class J {}
class K {}
function() => 42;
+
@Box(function()) // //# 09: compile-time error
class L {}
« no previous file with comments | « tests/lib/mirrors/metadata_allowed_values_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