Index: sdk/lib/_internal/pub/test/real_version_test.dart |
diff --git a/sdk/lib/_internal/pub/test/real_version_test.dart b/sdk/lib/_internal/pub/test/real_version_test.dart |
index d1aa737009712d8ed4f13f4789b4ad8f9948d793..75f1a22deb60cca6c8f7b249078755d36c0fbc4c 100644 |
--- a/sdk/lib/_internal/pub/test/real_version_test.dart |
+++ b/sdk/lib/_internal/pub/test/real_version_test.dart |
@@ -6,11 +6,12 @@ library pub_tests; |
import 'dart:io'; |
-import '../lib/src/sdk.dart' as sdk; |
- |
import 'package:path/path.dart' as path; |
import 'package:scheduled_test/scheduled_process.dart'; |
import 'package:scheduled_test/scheduled_test.dart'; |
+ |
+import '../lib/src/exit_codes.dart' as exit_codes; |
+import '../lib/src/sdk.dart' as sdk; |
import 'test_pub.dart'; |
main() { |
@@ -33,6 +34,6 @@ main() { |
var pub = new ScheduledProcess.start(pubPath, ['version']); |
expect(pub.nextLine(), completion(startsWith("Pub"))); |
- pub.shouldExit(0); |
+ pub.shouldExit(exit_codes.SUCCESS); |
}); |
} |