Index: tests/kernel/unsorted/constant_evaluator_regression_test.dart |
diff --git a/tests/standalone/fields_may_be_reset_test.dart b/tests/kernel/unsorted/constant_evaluator_regression_test.dart |
similarity index 69% |
copy from tests/standalone/fields_may_be_reset_test.dart |
copy to tests/kernel/unsorted/constant_evaluator_regression_test.dart |
index 3ab6fc62450cf34b84362d6af3c911dcf8c7327c..176344e4964620e978df4b67f94b1bfc0173c971 100644 |
--- a/tests/standalone/fields_may_be_reset_test.dart |
+++ b/tests/kernel/unsorted/constant_evaluator_regression_test.dart |
@@ -2,8 +2,10 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-// VMOptions=--fields_may_be_reset |
+import 'expect.dart'; |
+ |
+const X = const bool.fromEnvironment('foobar'); |
main() { |
- print("Okay"); |
+ Expect.isTrue(X == false); |
} |