Index: tests/language_2/assertion_initializer_test.dart |
diff --git a/tests/language/assertion_initializer_test.dart b/tests/language_2/assertion_initializer_test.dart |
similarity index 97% |
rename from tests/language/assertion_initializer_test.dart |
rename to tests/language_2/assertion_initializer_test.dart |
index 45369802b96bc1545aad154329cfb6076e259fdf..1eec4b1a365f2e8b21dd3792076ffa0cf6ec4c12 100644 |
--- a/tests/language/assertion_initializer_test.dart |
+++ b/tests/language_2/assertion_initializer_test.dart |
@@ -85,10 +85,10 @@ main() { |
} |
void test(int x, int y) { |
- bool checkedMode = false; |
- assert(checkedMode = true); |
+ bool assertionsEnabled = false; |
+ assert(assertionsEnabled = true); |
- bool Function(C Function()) doTest = (checkedMode && x >= y) |
+ bool Function(C Function()) doTest = (assertionsEnabled && x >= y) |
? (f) { Expect.throws(f, (e) => e is AssertionError); } |
: (f) { Expect.equals(x, f().x); }; |