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

Unified Diff: tests/language_strong/generic_tearoff_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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_tearoff_test.dart
diff --git a/tests/language_strong/generic_tearoff_test.dart b/tests/language_strong/generic_tearoff_test.dart
index e07ba4360d52d37622dcdb19332a726e7a276acb..620acb41d9f0e9aad84dd8ea0df0d79f7879952b 100644
--- a/tests/language_strong/generic_tearoff_test.dart
+++ b/tests/language_strong/generic_tearoff_test.dart
@@ -17,7 +17,7 @@ void _test(Int2Int2Int f) {
int y = f(123, 456);
Expect.equals(y, 123);
// `f` doesn't take type args.
- Expect.throws(() => (f as dynamic)/*<int>*/(123, 456));
+ Expect.throws(() => (f as dynamic) /*<int>*/(123, 456));
}
void _testParam(/*=T*/ minFn/*<T extends num>*/(/*=T*/ x, /*=T*/ y)) {
@@ -27,7 +27,7 @@ void _testParam(/*=T*/ minFn/*<T extends num>*/(/*=T*/ x, /*=T*/ y)) {
main() {
// Strong mode infers: `min<int>`
// Test simple/prefixed identifiers and property access
- _test(min);
+ _test(min);
_test(math.min);
_test(new C().m);

Powered by Google App Engine
This is Rietveld 408576698