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

Unified Diff: tests/language/modulo_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/modulo_test.dart
diff --git a/tests/language/modulo_test.dart b/tests/language/modulo_test.dart
index f94d7568229e6fbd5f8fafb615a7a3e1d6a25241..ae5562675240287405d32f187e681d930834f0de 100644
--- a/tests/language/modulo_test.dart
+++ b/tests/language/modulo_test.dart
@@ -6,7 +6,6 @@
import "package:expect/expect.dart";
-
main() {
// Prime IC cache.
noDom(1);
@@ -40,7 +39,7 @@ main() {
Expect.throws(() => fooTwo2(0), (e) => e is IntegerDivisionByZeroException);
}
-foo(i) => i % 256; // This will get optimized to AND instruction.
+foo(i) => i % 256; // This will get optimized to AND instruction.
boo(i) => i % -256;
hoo(i) => i % 0;
@@ -65,7 +64,6 @@ threeOp(a) {
return x + y + z;
}
-
fourOp(a) {
var x0 = a ~/ 10;
var x1 = a ~/ 12;
@@ -85,7 +83,6 @@ foo2(i) {
return i % x;
}
-
fooTwo2(i) {
// Make sure x has a range computed.
var x = 0;

Powered by Google App Engine
This is Rietveld 408576698