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

Unified Diff: pkg/analyzer/test/generated/element_test.dart

Issue 581733002: New analyzer snaphot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rollback Java changes Created 6 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 | « pkg/analyzer/test/generated/ast_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/element_test.dart
diff --git a/pkg/analyzer/test/generated/element_test.dart b/pkg/analyzer/test/generated/element_test.dart
index 62abc48ea36a1fbe65e5ca83b8f0bba13485b409..6a0721420f62170060bd313be79c982ee3f5d71b 100644
--- a/pkg/analyzer/test/generated/element_test.dart
+++ b/pkg/analyzer/test/generated/element_test.dart
@@ -4447,9 +4447,9 @@ class UnionTypeImplTest extends EngineTestCase {
}
void test_isMoreSpecificThan_someElementOnLHSIsNotASubtypeOfAnyElementOnRHS() {
- // Unions are not subtypes when some element is not a subtype
- JUnitTestCase.assertFalse(_uAB.isMoreSpecificThan(_uB));
- JUnitTestCase.assertFalse(_uAB.isMoreSpecificThan(_typeB));
+ // Unions are subtypes when some element is a subtype
+ JUnitTestCase.assertTrue(_uAB.isMoreSpecificThan(_uB));
+ JUnitTestCase.assertTrue(_uAB.isMoreSpecificThan(_typeB));
}
void test_isMoreSpecificThan_subtypeOfSomeElement() {
@@ -4481,9 +4481,9 @@ class UnionTypeImplTest extends EngineTestCase {
}
void test_isSubtypeOf_someElementOnLHSIsNotASubtypeOfAnyElementOnRHS() {
- // Unions are not subtypes when some element is not a subtype
- JUnitTestCase.assertFalse(_uAB.isSubtypeOf(_uB));
- JUnitTestCase.assertFalse(_uAB.isSubtypeOf(_typeB));
+ // Unions are subtypes when some element is a subtype
+ JUnitTestCase.assertTrue(_uAB.isSubtypeOf(_uB));
+ JUnitTestCase.assertTrue(_uAB.isSubtypeOf(_typeB));
}
void test_isSubtypeOf_subtypeOfSomeElement() {
« no previous file with comments | « pkg/analyzer/test/generated/ast_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698