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

Unified Diff: tests/language_strong/bad_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
Index: tests/language_strong/bad_constructor_test.dart
diff --git a/tests/language_strong/bad_constructor_test.dart b/tests/language_strong/bad_constructor_test.dart
index 31f7ef97110a7935d5d81a80bec38bf559a6525c..0f3e6996d3370dd595979d4da140e7ad28a3e9c7 100644
--- a/tests/language_strong/bad_constructor_test.dart
+++ b/tests/language_strong/bad_constructor_test.dart
@@ -13,9 +13,7 @@ class A {
var m;
A.m() { m = 0; } // //# 04: compile-time error
- set q(var value) {
- m = q;
- } // No name conflict with q=.
+ set q(var value) { m = q; } // No name conflict with q=.
// The runtime error occurs because main calls new A() instead of new A.q().
A.q(); // //# 05: runtime error
« no previous file with comments | « tests/language_strong/async_throw_in_catch_test.dart ('k') | tests/language_strong/bad_named_parameters2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698