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': '', |
}; |