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

Unified Diff: tests/language/missing_const_constructor_test.dart

Issue 2770063002: Revert "Format all multitests" (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « tests/language/method_override3_test.dart ('k') | tests/language/missing_part_of_tag_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/missing_const_constructor_test.dart
diff --git a/tests/language/missing_const_constructor_test.dart b/tests/language/missing_const_constructor_test.dart
index 54664f4eb05380870b8c72d71acf405ef7e2dbdd..166c529099e6d43751456872bc12cffd5e952eff 100644
--- a/tests/language/missing_const_constructor_test.dart
+++ b/tests/language/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) {
+
+ }
+}
« no previous file with comments | « tests/language/method_override3_test.dart ('k') | tests/language/missing_part_of_tag_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698