Chromium Code Reviews| Index: sdk/lib/_internal/pub/test/test_pub.dart |
| diff --git a/sdk/lib/_internal/pub/test/test_pub.dart b/sdk/lib/_internal/pub/test/test_pub.dart |
| index 2c85e8c3917f24f0d458de48dabf57f63ed33834..61fec20273ba8f1a0c8372e34252a7f56d232a0a 100644 |
| --- a/sdk/lib/_internal/pub/test/test_pub.dart |
| +++ b/sdk/lib/_internal/pub/test/test_pub.dart |
| @@ -60,6 +60,16 @@ final _requestedPaths = <String>[]; |
| /// The cached value for [_portCompleter]. |
| Completer<int> _portCompleterCache; |
| +/// A [Matcher] that matches JavaScript generated by dart2js with minification |
| +/// enabled. |
| +Matcher minifiedDart2JSOutput = |
|
nweiz
2013/10/29 23:18:53
These should follow the matcher naming convention
Bob Nystrom
2013/10/29 23:53:25
Done.
|
| + isNot(contains("// The code supports the following hooks")); |
| + |
| +/// A [Matcher] that matches JavaScript generated by dart2js with minification |
| +/// disabled. |
| +Matcher unminifiedDart2JSOutput = |
| + contains("// The code supports the following hooks"); |
| + |
| /// The completer for [port]. |
| Completer<int> get _portCompleter { |
| if (_portCompleterCache != null) return _portCompleterCache; |