Index: test/visitor_test.dart |
diff --git a/test/visitor_test.dart b/test/visitor_test.dart |
index 803b10614738b509fbed3c24453db98da81c7ad9..02784c40461b71a3c49783e04d83c5defd8e0569 100644 |
--- a/test/visitor_test.dart |
+++ b/test/visitor_test.dart |
@@ -4,6 +4,7 @@ |
library visitor_test; |
+import 'package:csslib/src/messages.dart'; |
import 'package:csslib/visitor.dart'; |
import 'package:test/test.dart'; |
@@ -33,7 +34,7 @@ class ClassVisitor extends Visitor { |
} |
void testClassVisitors() { |
- var errors = []; |
+ var errors = <Message>[]; |
var in1 = '.foobar { }'; |
var s = parseCss(in1, errors: errors); |
@@ -84,7 +85,7 @@ String polyfillPrint(String prefix, StyleSheet ss) => |
(new PolyfillEmitter(prefix)..visitTree(ss, pretty: true)).toString(); |
void testPolyFill() { |
- var errors = []; |
+ var errors = <Message>[]; |
final input = r''' |
.foobar { } |
div.xyzzy { } |