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

Unified Diff: tests/language_strong/generic_field_mixin6_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/generic_field_mixin6_test.dart
diff --git a/tests/language_strong/generic_field_mixin6_test.dart b/tests/language_strong/generic_field_mixin6_test.dart
index d4d4095da5a27177be7e5749a28905b0ebbec749..0e97b0bdcb9d5f5d3b54324b955e2d51d6d9c785 100644
--- a/tests/language_strong/generic_field_mixin6_test.dart
+++ b/tests/language_strong/generic_field_mixin6_test.dart
@@ -7,7 +7,7 @@
import 'package:expect/expect.dart';
class M<T> {
- T field = 0; /// 01: static type warning
+ T field = 0; //# 01: static type warning
}
class A<U> {}
class C1<V> = Object with M<V>;
@@ -15,12 +15,12 @@ class C2 = Object with M<int>;
class C3 = Object with M<String>;
main() {
- checkNoDynamicTypeError(() => new C1<int>()); /// 01: continued
- checkDynamicTypeError(() => new C1<String>()); /// 01: continued
+ checkNoDynamicTypeError(() => new C1<int>()); //# 01: continued
+ checkDynamicTypeError(() => new C1<String>()); //# 01: continued
- checkNoDynamicTypeError(() => new C2()); /// 01: continued
+ checkNoDynamicTypeError(() => new C2()); //# 01: continued
- checkDynamicTypeError(() => new C3()); /// 01: continued
+ checkDynamicTypeError(() => new C3()); //# 01: continued
}
/// Returns `true` if the program is running in checked mode.

Powered by Google App Engine
This is Rietveld 408576698