Skip to content

Commit

Permalink
Fix expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
sigurdm committed Oct 10, 2024
1 parent 42017cf commit 113b75c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ void main() {
final pub = await pubRun(global: true, args: ['foo:script']);
// In the real world this would just print "hello!", but since we collect
// all output we see the precompilation messages as well.
expect(pub.stdout, emits('Resolving dependencies...'));
expect(pub.stdout, emits('Downloading packages...'));
expect(pub.stdout, emits('Building package executable...'));
expect(pub.stdout, emitsThrough('ok'));
await pub.shouldExit();
Expand Down

0 comments on commit 113b75c

Please sign in to comment.