Index: utils/tests/pub/pub_uploader_test.dart |
diff --git a/utils/tests/pub/pub_uploader_test.dart b/utils/tests/pub/pub_uploader_test.dart |
index 93e1100adac4359a1e717309976882cd41bcbb0e..fa585af0bf0e2bcd60a26b3b66805fc83b7c9580 100644 |
--- a/utils/tests/pub/pub_uploader_test.dart |
+++ b/utils/tests/pub/pub_uploader_test.dart |
@@ -32,15 +32,20 @@ ScheduledProcess startPubUploader(ScheduledServer server, List<String> args) { |
main() { |
group('displays usage', () { |
- test('when run with no arguments', () => |
- runPub(args: ['uploader'], output: USAGE_STRING, exitCode: 64)); |
+ integration('when run with no arguments', () { |
+ schedulePub(args: ['uploader'], |
+ output: USAGE_STRING, exitCode: 64); |
+ }); |
- test('when run with only a command', () => |
- runPub(args: ['uploader', 'add'], output: USAGE_STRING, exitCode: 64)); |
+ integration('when run with only a command', () { |
+ schedulePub(args: ['uploader', 'add'], |
+ output: USAGE_STRING, exitCode: 64); |
+ }); |
- test('when run with an invalid command', () => runPub( |
- args: ['uploader', 'foo', 'email'], |
- output: USAGE_STRING, exitCode: 64)); |
+ integration('when run with an invalid command', () { |
+ schedulePub(args: ['uploader', 'foo', 'email'], |
+ output: USAGE_STRING, exitCode: 64); |
+ }); |
}); |
integration('adds an uploader', () { |