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

Unified Diff: packages/csslib/example/call_parser.dart

Issue 3015713002: Roll to pickup pool changes
Patch Set: Created 3 years, 3 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/README.md ('k') | packages/csslib/lib/css.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/csslib/example/call_parser.dart
diff --git a/packages/csslib/example/call_parser.dart b/packages/csslib/example/call_parser.dart
index 9a993ea6fc66320192ba855349e210f189529e26..85325e4e5d9962016d24731fc7dcc922ddb5c758 100644
--- a/packages/csslib/example/call_parser.dart
+++ b/packages/csslib/example/call_parser.dart
@@ -43,7 +43,7 @@ main() {
'}',
errors: errors);
- if (!errors.isEmpty) {
+ if (errors.isNotEmpty) {
print("Got ${errors.length} errors.\n");
for (var error in errors) {
print(error);
@@ -61,7 +61,7 @@ main() {
'}',
errors: errors);
- if (!errors.isEmpty) {
+ if (errors.isNotEmpty) {
print("Got ${errors.length} errors.\n");
for (var error in errors) {
print(error);
@@ -75,7 +75,7 @@ main() {
print(' ===================================');
stylesheetError = parseCss('# div1 { color: red; }', errors: errors);
- if (!errors.isEmpty) {
+ if (errors.isNotEmpty) {
print("Detected ${errors.length} problem in checked mode.\n");
for (var error in errors) {
print(error);
@@ -88,7 +88,7 @@ main() {
print('4. Parse a selector only:');
print(' ======================');
var selectorAst = css.selector('#div .foo', errors: errors);
- if (!errors.isEmpty) {
+ if (errors.isNotEmpty) {
print("Got ${errors.length} errors.\n");
for (var error in errors) {
print(error);
« no previous file with comments | « packages/csslib/README.md ('k') | packages/csslib/lib/css.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698