Index: tests/language_strong/missing_const_constructor_test.dart |
diff --git a/tests/language_strong/missing_const_constructor_test.dart b/tests/language_strong/missing_const_constructor_test.dart |
index 54664f4eb05380870b8c72d71acf405ef7e2dbdd..166c529099e6d43751456872bc12cffd5e952eff 100644 |
--- a/tests/language_strong/missing_const_constructor_test.dart |
+++ b/tests/language_strong/missing_const_constructor_test.dart |
@@ -12,7 +12,8 @@ GoodClass GOOD_CLASS |
= const GoodClass() //# 01: ok |
= const GoodClass.BAD_NAME() //# 02: compile-time error |
= const GoodClass("bad arg") //# 03: compile-time error |
- ; |
+; |
+ |
const BadClass BAD_CLASS = const BadClass(); //# 04: compile-time error |
BadClass BAD_CLASS = const BadClass(); //# 05: compile-time error |
@@ -23,5 +24,7 @@ void main() { |
print(BAD_CLASS); //# 04: continued |
print(BAD_CLASS); //# 05: continued |
print(const BadClass()); //# 06: compile-time error |
- } catch (e) {} |
-} |
+ } catch (e) { |
+ |
+ } |
+} |