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

Unified Diff: tests/language/deferred_constraints_constants_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/deferred_constraints_constants_test.dart
diff --git a/tests/language/deferred_constraints_constants_test.dart b/tests/language/deferred_constraints_constants_test.dart
index f0d95ef175a8f3261d2e5f18c1d75c2298125e53..c5a27f18bc90743714fe2e4402e46a0934af1e1d 100644
--- a/tests/language/deferred_constraints_constants_test.dart
+++ b/tests/language/deferred_constraints_constants_test.dart
@@ -9,35 +9,35 @@ import 'dart:mirrors';
import "deferred_constraints_constants_lib.dart" deferred as lib;
const myConst1 =
- lib.constantInstance; /// reference1: compile-time error
- /* /// reference1: continued
+ lib.constantInstance; //# reference1: compile-time error
+ /* //# reference1: continued
499;
- */ /// reference1: continued
+ */ //# reference1: continued
const myConst2 =
- lib.Const.instance; /// reference2: compile-time error
- /* /// reference2: continued
+ lib.Const.instance; //# reference2: compile-time error
+ /* //# reference2: continued
499;
- */ /// reference2: continued
+ */ //# reference2: continued
void f1({a:
- const lib.Const() /// default_argument1: compile-time error
- /* /// default_argument1: continued
+ const lib.Const() //# default_argument1: compile-time error
+ /* //# default_argument1: continued
499
- */ /// default_argument1: continued
+ */ //# default_argument1: continued
}) {}
void f2({a:
- lib.constantInstance /// default_argument2: compile-time error
- /* /// default_argument2: continued
+ lib.constantInstance //# default_argument2: compile-time error
+ /* //# default_argument2: continued
499
- */ /// default_argument2: continued
+ */ //# default_argument2: continued
}) {}
-@lib.Const() /// metadata1: compile-time error
+@lib.Const() //# metadata1: compile-time error
class H1 {}
-@lib.Const.instance /// metadata2: compile-time error
+@lib.Const.instance //# metadata2: compile-time error
class H2 {}
-@lib.Const.namedConstructor() /// metadata3: compile-time error
+@lib.Const.namedConstructor() //# metadata3: compile-time error
class H3 {}
void main() {
@@ -47,11 +47,11 @@ void main() {
asyncStart();
lib.loadLibrary().then((_) {
var instance = lib.constantInstance;
- var c1 = const lib.Const(); /// constructor1: compile-time error
- var c2 = const lib.Const.namedConstructor(); /// constructor2: compile-time error
+ var c1 = const lib.Const(); //# constructor1: compile-time error
+ var c2 = const lib.Const.namedConstructor(); //# constructor2: compile-time error
f1();
f2();
- var constInstance = lib.constantInstance; /// reference_after_load: ok
+ var constInstance = lib.constantInstance; //# reference_after_load: ok
var h1 = new H1();
var h2 = new H2();
var h3 = new H3();

Powered by Google App Engine
This is Rietveld 408576698