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

Unified Diff: tests/standalone/double_to_int_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/standalone/double_to_int_test.dart
diff --git a/tests/standalone/double_to_int_test.dart b/tests/standalone/double_to_int_test.dart
index 282c187e0290df561f406b34d473b4cfc0a95e36..b798d0804cdf840a5a42d5fd608cb0563d29fe57 100644
--- a/tests/standalone/double_to_int_test.dart
+++ b/tests/standalone/double_to_int_test.dart
@@ -8,7 +8,6 @@
import "package:expect/expect.dart";
-
main() {
for (int i = 0; i < 600; i++) {
Expect.equals(100, foo(100, 1.2));
@@ -21,7 +20,6 @@ main() {
Expect.equals(36507222016 * 2, foo(2, 36507222016.6));
}
-
foo(n, a) {
int k = 0;
for (int i = 0; i < n; i++) {
@@ -30,7 +28,6 @@ foo(n, a) {
return k;
}
-
goo(a) {
return a.toInt();
}

Powered by Google App Engine
This is Rietveld 408576698