Skip to content

Commit 42080af

Browse files
authored
Fix test broken by updated build_runner (#47)
1 parent 5a2231a commit 42080af

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

webdev/test/e2e_test.dart

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void main() {
3030
setUpAll(() async {
3131
exampleDirectory = p.absolute(p.join(p.current, '..', 'example'));
3232

33-
var process = await TestProcess.start(pubPath, ['get'],
33+
var process = await TestProcess.start(pubPath, ['upgrade'],
3434
workingDirectory: exampleDirectory, environment: _getPubEnvironment());
3535

3636
await process.shouldExit(0);
@@ -57,10 +57,12 @@ void main() {
5757
await expectLater(
5858
process.stderr,
5959
emitsThrough(
60-
'[SEVERE] Unable to create merged directory for ${d.sandbox}. '
60+
'[SEVERE] Unable to create merged directory for ${d.sandbox}.'));
61+
await expectLater(
62+
process.stderr,
63+
emitsThrough(
6164
'Choose a different directory or delete the contents of that '
62-
'directory'));
63-
65+
'directory.'));
6466
await expectLater(process.stderr,
6567
emitsThrough('Failed to create merged output directories.'));
6668

0 commit comments

Comments
 (0)