OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import 'package:scheduled_test/scheduled_test.dart'; | 5 import 'package:scheduled_test/scheduled_test.dart'; |
6 | 6 |
7 import '../../lib/src/exit_codes.dart' as exit_codes; | 7 import '../../lib/src/exit_codes.dart' as exit_codes; |
8 import '../descriptor.dart' as d; | 8 import '../descriptor.dart' as d; |
9 import '../test_pub.dart'; | 9 import '../test_pub.dart'; |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 error: new RegExp( | 34 error: new RegExp( |
35 r"(?=(.|\n)*^Error on line 1 of .*[/\\]file\.dart:)" | 35 r"(?=(.|\n)*^Error on line 1 of .*[/\\]file\.dart:)" |
36 r"(.|\n)*^Error on line 1 of .*[/\\]subfile\.dart:", | 36 r"(.|\n)*^Error on line 1 of .*[/\\]subfile\.dart:", |
37 multiLine: true), | 37 multiLine: true), |
38 output: new RegExp(r"Building myapp\.\.\.*"), | 38 output: new RegExp(r"Building myapp\.\.\.*"), |
39 exitCode: exit_codes.DATA); | 39 exitCode: exit_codes.DATA); |
40 | 40 |
41 // Doesn't output anything if an error occurred. | 41 // Doesn't output anything if an error occurred. |
42 d.dir(appPath, [ | 42 d.dir(appPath, [ |
43 d.dir('build', [ | 43 d.dir('build', [ |
44 d.nothing('file.dart.js'), | 44 d.nothing('web') |
45 d.nothing('file.dart'), | |
46 d.nothing('subdir') | |
47 ]) | 45 ]) |
48 ]).validate(); | 46 ]).validate(); |
49 }); | 47 }); |
50 } | 48 } |
OLD | NEW |