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); |
} |