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

Unified Diff: tests/compiler/dart2js/deprecated_features_test.dart

Issue 21074002: Remove support for missing part-of tag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased and updated cf. comment. Created 7 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
Index: tests/compiler/dart2js/deprecated_features_test.dart
diff --git a/tests/compiler/dart2js/deprecated_features_test.dart b/tests/compiler/dart2js/deprecated_features_test.dart
index 58d8f07c92f79cf7400bc37e6c1e1c7e1e3793e0..59d9b1263903e74c7b67242d8bf527c72369ecfe 100644
--- a/tests/compiler/dart2js/deprecated_features_test.dart
+++ b/tests/compiler/dart2js/deprecated_features_test.dart
@@ -54,10 +54,7 @@ main() {
// "message" is the expected message as a [String]. This is a
// short-term solution and should eventually changed to include
// a symbolic reference to a MessageKind.
- "15<part 'part.dart';>::${deprecatedMessage('missing part-of tag')}\n"
- "0<>:/part.dart:info: Note: This file has no part-of tag, but it is being"
- " used as a part.\n"
- "53<()>::${deprecatedMessage('getter parameters')}\n",
+ "19<()>::${deprecatedMessage('getter parameters')}\n",
messages.toString());
}
@@ -69,10 +66,6 @@ deprecatedMessage(feature) {
const Map<String, String> TEST_SOURCE =
const <String, String>{ '': """
-library test;
-
-part 'part.dart';
-
class Foo {
get x() => null;
}
@@ -81,6 +74,4 @@ main() {
var a = new Foo();
}
""",
- // TODO(ahe): Why isn't this 'part.dart'? Why the leading slash?
- '/part.dart': '',
};

Powered by Google App Engine
This is Rietveld 408576698