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

Unified Diff: test/checker/checker_test.dart

Issue 1166163002: remove unused allowConstCast option (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: format Created 5 years, 6 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 | « lib/src/testing.dart ('k') | test/codegen_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/checker/checker_test.dart
diff --git a/test/checker/checker_test.dart b/test/checker/checker_test.dart
index e587876f8a7f311d94ca9ba19965b34d8842f715..61eae22694d95d8e3eaeb8b8c8113d62399f718f 100644
--- a/test/checker/checker_test.dart
+++ b/test/checker/checker_test.dart
@@ -1718,11 +1718,7 @@ void main() {
}
''';
testChecker(
- {'/main.dart': mk("severe:StaticTypeError", "severe:StaticTypeError")},
- allowConstCasts: false);
- testChecker(
- {'/main.dart': mk("warning:DownCastImplicit", "info:AssignmentCast")},
- allowConstCasts: true);
+ {'/main.dart': mk("warning:DownCastImplicit", "info:AssignmentCast")});
});
test('casts in conditionals', () {
« no previous file with comments | « lib/src/testing.dart ('k') | test/codegen_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698