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

Unified Diff: test/nested_test.dart

Issue 1832993003: Fix all strong mode errors and warnings. (Closed) Base URL: https://github.com/dart-lang/csslib.git@master
Patch Set: Move type. Created 4 years, 8 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 | « test/mixin_test.dart ('k') | test/selector_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/nested_test.dart
diff --git a/test/nested_test.dart b/test/nested_test.dart
index 1848ef13b3764c361ef5e7e5dab58e0b0fd18680..a5cadaba08d0f2df866acc22f17a2f92ef6afae1 100644
--- a/test/nested_test.dart
+++ b/test/nested_test.dart
@@ -4,12 +4,13 @@
library nested_test;
+import 'package:csslib/src/messages.dart';
import 'package:test/test.dart';
import 'testing.dart';
compileAndValidate(String input, String generated) {
- var errors = [];
+ var errors = <Message>[];
var stylesheet = compileCss(input, errors: errors, opts: simpleOptions);
expect(stylesheet != null, true);
expect(errors.isEmpty, true, reason: errors.toString());
« no previous file with comments | « test/mixin_test.dart ('k') | test/selector_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698