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

Unified Diff: tests/language/interceptor9_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/interceptor9_test.dart
diff --git a/tests/language/interceptor9_test.dart b/tests/language/interceptor9_test.dart
index a9f057f85117372ffda6acd9ed232c9fa379ad54..07525a57d27cfac55f57802c117021195ae4852d 100644
--- a/tests/language/interceptor9_test.dart
+++ b/tests/language/interceptor9_test.dart
@@ -9,19 +9,20 @@
import "package:expect/expect.dart";
import "dart:typed_data";
-confuse(x, [y=null]) => new DateTime.now().day == 42 ? y : x;
+confuse(x, [y = null]) => new DateTime.now().day == 42 ? y : x;
boom() {
- var x = confuse(new Uint8List(22), "");
- Expect.isTrue(x is Uint8List);
- x.startsWith("a");
- x.endsWith("u");
+ var x = confuse(new Uint8List(22), "");
+ Expect.isTrue(x is Uint8List);
+ x.startsWith("a");
+ x.endsWith("u");
}
main() {
try {
var f;
- if (confuse(true)) { // prevent inlining
+ if (confuse(true)) {
+ // prevent inlining
f = boom;
}
f();

Powered by Google App Engine
This is Rietveld 408576698