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

Unified Diff: tests/language_strong/reify_typevar_static_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_strong/reify_typevar_static_test.dart
diff --git a/tests/language_strong/reify_typevar_static_test.dart b/tests/language_strong/reify_typevar_static_test.dart
index ed510f0ee010b3fa313236e6d85f28e36df3beb7..7bcc83104106bb20c0eaf2426f3098c4cd1d65c2 100644
--- a/tests/language_strong/reify_typevar_static_test.dart
+++ b/tests/language_strong/reify_typevar_static_test.dart
@@ -9,16 +9,16 @@ class C<T> {
C([this.x]);
static staticFunction(bool b) =>
- b ? T : /// 00: compile-time error
+ b ? T : //# 00: compile-time error
null;
factory C.factoryConstructor(bool b) => new C(
- b ? T : /// 01: ok
+ b ? T : //# 01: ok
null);
C.redirectingConstructor(bool b) : this(
- b ? T : /// 02: ok
+ b ? T : //# 02: ok
null);
C.ordinaryConstructor(bool b) : x =
- b ? T : /// 03: ok
+ b ? T : //# 03: ok
null;
}

Powered by Google App Engine
This is Rietveld 408576698