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

Unified Diff: test/codegen/expect/collection/iterable_zip.js

Issue 1524843002: JS: Format if statements with no else on a single line (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebased Created 5 years 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
« no previous file with comments | « test/codegen/expect/collection/algorithms.js ('k') | test/codegen/expect/collection/priority_queue.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/collection/iterable_zip.js
diff --git a/test/codegen/expect/collection/iterable_zip.js b/test/codegen/expect/collection/iterable_zip.js
index ecd44bdb20b1cae3936f6e68eb57d831b45f5d12..8d0c578f8b2f8f3fb9a6f6dbe2259e8dc8205dec 100644
--- a/test/codegen/expect/collection/iterable_zip.js
+++ b/test/codegen/expect/collection/iterable_zip.js
@@ -29,8 +29,7 @@ dart_library.library('collection/iterable_zip', null, /* Imports */[
this[_current] = null;
}
moveNext() {
- if (dart.notNull(this[_iterators][dartx.isEmpty]))
- return false;
+ if (dart.notNull(this[_iterators][dartx.isEmpty])) return false;
for (let i = 0; dart.notNull(i) < dart.notNull(this[_iterators][dartx.length]); i = dart.notNull(i) + 1) {
if (!dart.notNull(this[_iterators][dartx.get](i).moveNext())) {
this[_current] = null;
« no previous file with comments | « test/codegen/expect/collection/algorithms.js ('k') | test/codegen/expect/collection/priority_queue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698