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

Unified Diff: tests/language/generic_field_mixin6_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/language/function_type_call_getter2_test.dart ('k') | tests/language/generic_metadata_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/generic_field_mixin6_test.dart
diff --git a/tests/language/generic_field_mixin6_test.dart b/tests/language/generic_field_mixin6_test.dart
index 664246a9042cd00aca6c660999a3eb8e8ca38b53..8778ea9574ab7eef6fdd2c10e007c0e6cfb7deb4 100644
--- a/tests/language/generic_field_mixin6_test.dart
+++ b/tests/language/generic_field_mixin6_test.dart
@@ -9,7 +9,9 @@ import 'package:expect/expect.dart';
class M<T> {
T field = 0; //# 01: static type warning
}
+
class A<U> {}
+
class C1<V> = Object with M<V>;
class C2 = Object with M<int>;
class C3 = Object with M<String>;
@@ -40,11 +42,10 @@ void checkDynamicTypeError(f(), [String message]) {
message = message != null ? ': $message' : '';
try {
f();
- Expect.isFalse(inCheckedMode(),
- 'Missing type error in checked mode$message.');
+ Expect.isFalse(
+ inCheckedMode(), 'Missing type error in checked mode$message.');
} on TypeError catch (e) {
- Expect.isTrue(inCheckedMode(),
- 'Unexpected type error in production mode.');
+ Expect.isTrue(inCheckedMode(), 'Unexpected type error in production mode.');
}
}
« no previous file with comments | « tests/language/function_type_call_getter2_test.dart ('k') | tests/language/generic_metadata_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698