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()); |