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

Unified Diff: tests/language_2/unresolved_default_constructor_test.dart

Issue 3008723002: Migrate block 163 to Dart 2.0. (Closed)
Patch Set: Merge fixups Created 3 years, 4 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_2/unqual_name_test.dart ('k') | tests/language_2/unresolved_in_factory_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_2/unresolved_default_constructor_test.dart
diff --git a/tests/language_strong/unresolved_default_constructor_test.dart b/tests/language_2/unresolved_default_constructor_test.dart
similarity index 67%
rename from tests/language_strong/unresolved_default_constructor_test.dart
rename to tests/language_2/unresolved_default_constructor_test.dart
index 1b0a66c52a9c097c567152438eed71557a8f2587..7d9301bb981a7239b57ed23cc6a3ebeccec720aa 100644
--- a/tests/language_strong/unresolved_default_constructor_test.dart
+++ b/tests/language_2/unresolved_default_constructor_test.dart
@@ -2,8 +2,7 @@
// 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.
-// Test unresolved default constructor calls remain unresolved after dart2dart
-// translation.
+// Test unresolved default constructor calls cause compilation errors.
import 'package:expect/expect.dart';
@@ -14,5 +13,5 @@ class A {
main() {
A.method();
- Expect.throws(() => new A()); //# 01: static type warning
+ Expect.throws(() => new A()); //# 01: compile-time error
}
« no previous file with comments | « tests/language_2/unqual_name_test.dart ('k') | tests/language_2/unresolved_in_factory_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698