Skip to content

Commit d788ddc

Browse files
authored
Update test to assume build_runner behavior from 0.8.5 (#46)
1 parent 41e35d0 commit d788ddc

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ dependencies:
88
angular: ^5.0.0-alpha+10
99

1010
dev_dependencies:
11-
build_runner: ^0.8.2
11+
build_runner: ^0.8.5
1212
build_web_compilers: ^0.3.6

webdev/test/e2e_test.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ void main() {
5353
process.stdout,
5454
emitsThrough(
5555
'[WARNING] Skipped creation of the merged output directory.'));
56+
57+
await expectLater(
58+
process.stderr,
59+
emitsThrough(
60+
'[SEVERE] Unable to create merged directory for ${d.sandbox}. '
61+
'Choose a different directory or delete the contents of that '
62+
'directory'));
63+
5664
await expectLater(process.stderr,
5765
emitsThrough('Failed to create merged output directories.'));
5866

0 commit comments

Comments
 (0)