File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ void main() {
30
30
setUpAll (() async {
31
31
exampleDirectory = p.absolute (p.join (p.current, '..' , 'example' ));
32
32
33
- var process = await TestProcess .start (pubPath, ['get ' ],
33
+ var process = await TestProcess .start (pubPath, ['upgrade ' ],
34
34
workingDirectory: exampleDirectory, environment: _getPubEnvironment ());
35
35
36
36
await process.shouldExit (0 );
@@ -57,10 +57,12 @@ void main() {
57
57
await expectLater (
58
58
process.stderr,
59
59
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 (
61
64
'Choose a different directory or delete the contents of that '
62
- 'directory' ));
63
-
65
+ 'directory.' ));
64
66
await expectLater (process.stderr,
65
67
emitsThrough ('Failed to create merged output directories.' ));
66
68
You can’t perform that action at this time.
0 commit comments