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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StrictModeTest.java

Issue 34523011: Issue 13807. Support for type promotion rules. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updates after review comments Created 7 years, 2 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
Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StrictModeTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StrictModeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StrictModeTest.java
index a046cea53347f8399f63642dc1745a26c03df6bc..9beddf064e7864d69275f5c133909692836accaa 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StrictModeTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StrictModeTest.java
@@ -110,7 +110,7 @@ public class StrictModeTest extends ResolverTestCase {
" return 0;",
"}"));
resolve(source);
- assertErrors(source, StaticTypeWarningCode.UNDEFINED_OPERATOR);
+ assertNoErrors(source);
}
public void test_if_is() throws Exception {
@@ -122,7 +122,7 @@ public class StrictModeTest extends ResolverTestCase {
" return 0;",
"}"));
resolve(source);
- assertErrors(source, StaticTypeWarningCode.UNDEFINED_OPERATOR);
+ assertNoErrors(source);
}
public void test_if_isNot() throws Exception {

Powered by Google App Engine
This is Rietveld 408576698