Index: sdk/lib/_internal/pub/test/deploy/reports_dart_parse_errors.dart |
diff --git a/sdk/lib/_internal/pub/test/deploy/reports_dart_parse_errors.dart b/sdk/lib/_internal/pub/test/deploy/reports_dart_parse_errors.dart |
deleted file mode 100644 |
index 6875a43e7032d4497e7593ea15e64d91950b988f..0000000000000000000000000000000000000000 |
--- a/sdk/lib/_internal/pub/test/deploy/reports_dart_parse_errors.dart |
+++ /dev/null |
@@ -1,45 +0,0 @@ |
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
-// 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. |
- |
-import 'package:scheduled_test/scheduled_test.dart'; |
- |
-import '../descriptor.dart' as d; |
-import '../test_pub.dart'; |
- |
-main() { |
- initConfig(); |
- |
- integration("reports Dart parse errors", () { |
- d.dir(appPath, [ |
- d.appPubspec([]), |
- d.dir('web', [ |
- d.file('file.txt', 'contents'), |
- d.file('file.dart', 'void void;'), |
- d.dir('subdir', [ |
- d.file('subfile.dart', 'void void;') |
- ]) |
- ]) |
- ]).create(); |
- |
- schedulePub(args: ["deploy"], |
- error: new RegExp( |
- r"^Error on line 1 of .*[/\\]file\.dart:(.|\n)*" |
- r"^Error on line 1 of .*[/\\]subfile\.dart:", |
- multiLine: true), |
- output: ''' |
-Finding entrypoints... |
-Copying web/ => deploy/ |
-''', |
- exitCode: 0); |
- |
- d.dir(appPath, [ |
- d.dir('deploy', [ |
- d.matcherFile('file.txt', 'contents'), |
- d.nothing('file.dart.js'), |
- d.nothing('file.dart'), |
- d.nothing('subdir') |
- ]) |
- ]).validate(); |
- }); |
-} |