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

Unified Diff: tests/language/compile_time_constant_o_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/compile_time_constant_o_test.dart
diff --git a/tests/language/compile_time_constant_o_test.dart b/tests/language/compile_time_constant_o_test.dart
index 2438881d88971cd1d278b3169ed43e52a523a70f..6af082674763051762bffe31cca4ae1e16280e54 100644
--- a/tests/language/compile_time_constant_o_test.dart
+++ b/tests/language/compile_time_constant_o_test.dart
@@ -8,12 +8,8 @@ import "package:expect/expect.dart";
const str = "foo";
const m1 = const { "foo": 499 };
const m2 = const { "$str": 499 };
-const m3 = const {
- "$str": 42, /// 01: static type warning
- "foo": 499 };
-const m4 = const {
- "foo": 42, /// 02: static type warning
- "$str": 499 };
+const m3 = const { "$str": 42, "foo": 499 };
+const m4 = const { "foo": 42, "$str": 499 };
const m5 = const { "f" "o" "o": 499 };
const mm1 = const { "afoo#foo": 499 };
« no previous file with comments | « tests/language/compile_time_constant_k_test.dart ('k') | tests/language/const_objects_are_immutable_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698