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

Unified Diff: tests/lib_strong/mirrors/generic_bounded_by_type_parameter_test.dart

Issue 2770063002: Revert "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
Index: tests/lib_strong/mirrors/generic_bounded_by_type_parameter_test.dart
diff --git a/tests/lib_strong/mirrors/generic_bounded_by_type_parameter_test.dart b/tests/lib_strong/mirrors/generic_bounded_by_type_parameter_test.dart
index f7aa69786d0507b2a4c73455688e5f9f4c0afabe..388274a1de8fe5455dc1713cae5e27c9b398b127 100644
--- a/tests/lib_strong/mirrors/generic_bounded_by_type_parameter_test.dart
+++ b/tests/lib_strong/mirrors/generic_bounded_by_type_parameter_test.dart
@@ -11,7 +11,6 @@ import 'package:expect/expect.dart';
import 'generics_helper.dart';
class Super<T, R extends T> {}
-
class Fixed extends Super<num, int> {}
class Generic<X, Y> extends Super<X, Y> {} //# 02: static type warning
class Malbounded extends Super<num, String> {} //# 01: static type warning
@@ -20,7 +19,7 @@ bool inCheckedMode() {
try {
var s = 'string';
int i = s;
- } catch (e) {
+ } catch(e) {
return true;
}
return false;
@@ -45,7 +44,7 @@ main() {
typeArguments(genericOfNumAndBool, [reflectClass(num), reflectClass(bool)]); // //# 02: continued
typeArguments(superOfNumAndBool, [reflectClass(num), reflectClass(bool)]); // //# 02: continued
Expect.isFalse(inCheckedMode()); //# 02: continued
- } on TypeError catch (e) {
+ } on TypeError catch(e) {
Expect.isTrue(inCheckedMode());
}
« no previous file with comments | « tests/lib_strong/mirrors/constructor_kinds_test.dart ('k') | tests/lib_strong/mirrors/generic_bounded_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698