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

Unified Diff: tests/language/const_objects_are_immutable_test.dart

Issue 166433002: Revert "Fix language tests wrt. warnings." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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: tests/language/const_objects_are_immutable_test.dart
diff --git a/tests/language/const_objects_are_immutable_test.dart b/tests/language/const_objects_are_immutable_test.dart
index eb32b400e68823593bfa6fa0c2b75c740da5054f..c3f6d21410a403764603a0c35478e357ad53c144 100644
--- a/tests/language/const_objects_are_immutable_test.dart
+++ b/tests/language/const_objects_are_immutable_test.dart
@@ -24,6 +24,6 @@ main() {
Expect.equals(1, a1.x);
A a2 = const A(1, 2);
- Expect.throws(() => a2.x = 499); /// 01: static type warning
+ Expect.throws(() => a2.x = 499);
Expect.equals(1, a2.x);
}
« no previous file with comments | « tests/language/compile_time_constant_o_test.dart ('k') | tests/language/constructor_named_arguments_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698