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

Unified Diff: test/regression/122.unit

Issue 843653005: Increase nesting in conditional expressions. Fix #122. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: test/regression/122.unit
diff --git a/test/regression/122.unit b/test/regression/122.unit
new file mode 100644
index 0000000000000000000000000000000000000000..b4a0794ce5f7bf2eecb79b85ee9c52d2c1a0bc04
--- /dev/null
+++ b/test/regression/122.unit
@@ -0,0 +1,26 @@
+>>>
+var xsrfValue = _urlIsSameOrigin(url) ?
+ _cookies[xsrfCookieName != null ?
+ xsrfCookieName :
+ defaults.xsrfCookieName] :
+ null;
+<<<
+var xsrfValue = _urlIsSameOrigin(url) ?
+ _cookies[xsrfCookieName != null ?
+ xsrfCookieName :
+ defaults.xsrfCookieName] :
+ null;
+>>>
+class _Streams {
+ _Streams(this._scope, this._exceptionHandler, _Streams inheritStreams)
+ : _typeCounts = inheritStreams == null ?
+ new HashMap<String, int>() :
+ new HashMap.from(inheritStreams._typeCounts);
+}
+<<<
+class _Streams {
+ _Streams(this._scope, this._exceptionHandler, _Streams inheritStreams)
+ : _typeCounts = inheritStreams == null ?
+ new HashMap<String, int>() :
+ new HashMap.from(inheritStreams._typeCounts);
+}

Powered by Google App Engine
This is Rietveld 408576698