diff --git a/test/gen_test.dart b/test/gen_test.dart index fbcd26f..3a70654 100644 --- a/test/gen_test.dart +++ b/test/gen_test.dart @@ -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)); diff --git a/test/link_test.dart b/test/link_test.dart index 76984f4..c4190c1 100644 --- a/test/link_test.dart +++ b/test/link_test.dart @@ -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);