Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Oct 11, 2024
1 parent 2656107 commit b88a912
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/gen_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const argString = 'pub run build_runner build --delete-conflicting-outputs';

void main() {
test('[engine] gen', () async {
final result = await testCommand(['gen'], debug: true);
final result = await testCommand(['gen']);
final stdout = result.stdout;

expect(result.exitCode, isNot(ExitCode.success.code));
Expand Down
4 changes: 3 additions & 1 deletion test/link_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import 'test_utils.dart';

void main() {
test('puby link', () async {
final result = await testCommand(['link'], debug: true);
// A pub get must be done before link will work
await testCommand(['get']);
final result = await testCommand(['link']);
final stdout = result.stdout;

expect(result.exitCode, ExitCode.success.code);
Expand Down

0 comments on commit b88a912

Please sign in to comment.