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

Side by Side Diff: test/regression/122.unit

Issue 846133002: Put conditional operators on the left. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Update version. Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « test/regression/115.stmt ('k') | test/regression/44.stmt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 >>> 1 >>>
2 var xsrfValue = _urlIsSameOrigin(url) ? 2 var xsrfValue = _urlIsSameOrigin(url) ?
3 _cookies[xsrfCookieName != null ? 3 _cookies[xsrfCookieName != null ?
4 xsrfCookieName : 4 xsrfCookieName :
5 defaults.xsrfCookieName] : 5 defaults.xsrfCookieName] :
6 null; 6 null;
7 <<< 7 <<<
8 var xsrfValue = _urlIsSameOrigin(url) ? 8 var xsrfValue = _urlIsSameOrigin(url)
9 _cookies[xsrfCookieName != null ? 9 ? _cookies[xsrfCookieName != null
10 xsrfCookieName : 10 ? xsrfCookieName
11 defaults.xsrfCookieName] : 11 : defaults.xsrfCookieName]
12 null; 12 : null;
13 >>> 13 >>>
14 class _Streams { 14 class _Streams {
15 _Streams(this._scope, this._exceptionHandler, _Streams inheritStreams) 15 _Streams(this._scope, this._exceptionHandler, _Streams inheritStreams)
16 : _typeCounts = inheritStreams == null ? 16 : _typeCounts = inheritStreams == null ?
17 new HashMap<String, int>() : 17 new HashMap<String, int>() :
18 new HashMap.from(inheritStreams._typeCounts); 18 new HashMap.from(inheritStreams._typeCounts);
19 } 19 }
20 <<< 20 <<<
21 class _Streams { 21 class _Streams {
22 _Streams(this._scope, this._exceptionHandler, _Streams inheritStreams) 22 _Streams(this._scope, this._exceptionHandler, _Streams inheritStreams)
23 : _typeCounts = inheritStreams == null ? 23 : _typeCounts = inheritStreams == null
24 new HashMap<String, int>() : 24 ? new HashMap<String, int>()
25 new HashMap.from(inheritStreams._typeCounts); 25 : new HashMap.from(inheritStreams._typeCounts);
26 } 26 }
OLDNEW
« no previous file with comments | « test/regression/115.stmt ('k') | test/regression/44.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698