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

Unified Diff: tests/language_strong/async_and_or_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_strong/async_and_or_test.dart
diff --git a/tests/language_strong/async_and_or_test.dart b/tests/language_strong/async_and_or_test.dart
index 15955f05d811cbe0df91b2bcfec6612fca3e5f11..6d1e858d81d66ababf835c65ec3131530b86bf2d 100644
--- a/tests/language_strong/async_and_or_test.dart
+++ b/tests/language_strong/async_and_or_test.dart
@@ -28,6 +28,7 @@ traceA(x) {
trace += "a";
return x;
}
+
traceB(x) {
trace += "b";
return x;
@@ -40,8 +41,8 @@ testEvaluation(void fn()) async {
test2() async {
await testEvaluation(() async {
- Expect.isFalse(
- await confuse(traceA(false)) && await confuse(traceB(false)));
+ Expect
+ .isFalse(await confuse(traceA(false)) && await confuse(traceB(false)));
Expect.equals("a", trace);
});
await testEvaluation(() async {
@@ -58,8 +59,8 @@ test2() async {
});
await testEvaluation(() async {
- Expect.isFalse(
- await confuse(traceA(false)) || await confuse(traceB(false)));
+ Expect
+ .isFalse(await confuse(traceA(false)) || await confuse(traceB(false)));
Expect.equals("ab", trace);
});
await testEvaluation(() async {
@@ -74,7 +75,6 @@ test2() async {
Expect.isTrue(await confuse(traceA(true)) || await confuse(traceB(true)));
Expect.equals("a", trace);
});
-
}
test() async {

Powered by Google App Engine
This is Rietveld 408576698