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

Unified Diff: tests/language/closure_type_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
« no previous file with comments | « tests/language/class_override_test.dart ('k') | tests/language/compile_time_constant10_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/closure_type_test.dart
diff --git a/tests/language/closure_type_test.dart b/tests/language/closure_type_test.dart
index 09d6c97adbb5e87e0eb192bc50c9083b59d72806..ba11f8ab90d6dcefea8828910525c6d022bdfbe0 100644
--- a/tests/language/closure_type_test.dart
+++ b/tests/language/closure_type_test.dart
@@ -6,14 +6,13 @@
// time.
library closure_type_test;
-
import "package:expect/expect.dart";
import 'dart:math' as math;
class Math {
static
int // //# 01: static type warning
- sqrt(x) => math.sqrt(x);
+ sqrt(x) => math.sqrt(x);
}
isCheckedMode() {
@@ -26,6 +25,7 @@ isCheckedMode() {
}
}
+
void test(int func(int value), int value) {
bool got_type_error = false;
try {
« no previous file with comments | « tests/language/class_override_test.dart ('k') | tests/language/compile_time_constant10_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698