Index: tests/compiler/dart2js/resolver_test.dart |
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart |
index 06f9bf4612c073c829b36a8d15f6e6b6d88ef454..53988299ffd0aa8550d667b07640df5f9ef9133c 100644 |
--- a/tests/compiler/dart2js/resolver_test.dart |
+++ b/tests/compiler/dart2js/resolver_test.dart |
@@ -152,10 +152,10 @@ testTypeVariables() { |
compiler = new MockCompiler(); |
compiler.parseScript('class Foo<T, U> {}'); |
compiler.resolveStatement('var x = new Foo<notype, int>();'); |
- Expect.equals(0, compiler.warnings.length); |
- Expect.equals(1, compiler.errors.length); |
- Expect.equals(MessageKind.CANNOT_RESOLVE_TYPE.error, |
- compiler.errors[0].message.kind); |
+ Expect.equals(1, compiler.warnings.length); |
+ Expect.equals(0, compiler.errors.length); |
+ Expect.equals(MessageKind.CANNOT_RESOLVE_TYPE.warning, |
+ compiler.warnings[0].message.kind); |
compiler = new MockCompiler(); |
compiler.parseScript('class Foo<T> {' |