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

Unified Diff: tests/standalone/medium_integer_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/medium_integer_test.dart
diff --git a/tests/standalone/medium_integer_test.dart b/tests/standalone/medium_integer_test.dart
index 6f826ca7b73311b175083ff227687c3aefd3b362..bf0edf128267225eb472453322dbd2b46294c156 100644
--- a/tests/standalone/medium_integer_test.dart
+++ b/tests/standalone/medium_integer_test.dart
@@ -5,21 +5,20 @@
// as Smi's would be used to represent many of the numbers.
library MediumIntegerTest;
-import "package:expect/expect.dart";
+import "package:expect/expect.dart";
class MediumIntegerTest {
-
static int getMint() {
return 1234567890123456789;
}
static testSmiOverflow() {
- int a = 1073741823;
- int b = 1073741822;
- Expect.equals(2147483645, a + b);
- Expect.equals(1152921501385621506, a * b);
- Expect.equals(-2147483645, -a - b);
+ int a = 1073741823;
+ int b = 1073741822;
+ Expect.equals(2147483645, a + b);
+ Expect.equals(1152921501385621506, a * b);
+ Expect.equals(-2147483645, -a - b);
}
static testMintAdd() {

Powered by Google App Engine
This is Rietveld 408576698