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

Unified Diff: tests/language_strong/logical_expression2_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/logical_expression2_test.dart
diff --git a/tests/language_strong/logical_expression2_test.dart b/tests/language_strong/logical_expression2_test.dart
index 7d6ddd5244ba88d1381dc6a840d347ff8bb0049c..04a05e94356ac0615bf4d17518d73f17ca59bc98 100644
--- a/tests/language_strong/logical_expression2_test.dart
+++ b/tests/language_strong/logical_expression2_test.dart
@@ -19,12 +19,11 @@ int confuse(x) {
}
main() {
- var o = [ "foo", 499 ][confuse(1)];
+ var o = ["foo", 499][confuse(1)];
// The `o is String` check in the rhs of the logical or must not be
// propagated to the `if` body.
- if ((o is num) ||
- (o is String && true)) {
+ if ((o is num) || (o is String && true)) {
nonInlinedUse(o);
}
Expect.equals(1, globalCounter);

Powered by Google App Engine
This is Rietveld 408576698