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

Unified Diff: tests/language/named_parameters_default_eq_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/language/named_parameters_default_eq_test.dart
diff --git a/tests/language/named_parameters_default_eq_test.dart b/tests/language/named_parameters_default_eq_test.dart
index 2afc8c40377642dbba788b249bef97c8785eb110..c10e1d827ce53ed814700811bd4a225920ced0e7 100644
--- a/tests/language/named_parameters_default_eq_test.dart
+++ b/tests/language/named_parameters_default_eq_test.dart
@@ -7,7 +7,7 @@
import "package:expect/expect.dart";
// Default values are not allowed on typedefs.
-typedef int F1({x = 3, y}); /// 01: compile-time error
+typedef int F1({x = 3, y}); //# 01: compile-time error
typedef int functype({x, y, z});
@@ -23,7 +23,7 @@ class A {
factory A.redirectFactory({x, y, z}) = A;
// Default values are not allowed on redirecting factory constructors.
- factory A.badRedirectFactory({x = 3, y}) = A; /// 02: compile-time error
+ factory A.badRedirectFactory({x = 3, y}) = A; //# 02: compile-time error
int get value => x * y * z;
@@ -33,7 +33,7 @@ class A {
main() {
// Reference the type, or dart2js won't see that the declaration is invalid
- F1 _ = null; /// 01: continued
+ F1 _ = null; //# 01: continued
var a = new A();

Powered by Google App Engine
This is Rietveld 408576698