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

Unified Diff: packages/csslib/test/testing.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 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
« no previous file with comments | « packages/csslib/test/selector_test.dart ('k') | packages/csslib/test/var_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/csslib/test/testing.dart
diff --git a/packages/csslib/test/testing.dart b/packages/csslib/test/testing.dart
index de2aab190b54575e1a184dad20e588337bc6ef7e..68075767f5327205b7d4f64abe75f06d068fe8be 100644
--- a/packages/csslib/test/testing.dart
+++ b/packages/csslib/test/testing.dart
@@ -30,24 +30,26 @@ const options = const PreprocessorOptions(
* tests (by default) will ensure that the CSS is really valid.
*/
StyleSheet parseCss(String cssInput,
- {List<Message> errors, PreprocessorOptions opts}) => parse(cssInput,
+ {List<Message> errors, PreprocessorOptions opts}) =>
+ parse(cssInput,
errors: errors,
- options: opts == null
- ? simpleOptionsWithCheckedAndWarningsAsErrors
- : opts);
+ options:
+ opts == null ? simpleOptionsWithCheckedAndWarningsAsErrors : opts);
/**
* Spin-up CSS parser in checked mode to detect any problematic CSS. Normally,
* CSS will allow any property/value pairs regardless of validity; all of our
* tests (by default) will ensure that the CSS is really valid.
*/
-StyleSheet compileCss(String cssInput, {List<Message> errors,
- PreprocessorOptions opts, bool polyfill: false,
- List<StyleSheet> includes: null}) => compile(cssInput,
+StyleSheet compileCss(String cssInput,
+ {List<Message> errors,
+ PreprocessorOptions opts,
+ bool polyfill: false,
+ List<StyleSheet> includes: null}) =>
+ compile(cssInput,
errors: errors,
- options: opts == null
- ? simpleOptionsWithCheckedAndWarningsAsErrors
- : opts,
+ options:
+ opts == null ? simpleOptionsWithCheckedAndWarningsAsErrors : opts,
polyfill: polyfill,
includes: includes);
« no previous file with comments | « packages/csslib/test/selector_test.dart ('k') | packages/csslib/test/var_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698