Index: sdk/lib/_internal/pub/test/test_pub.dart |
diff --git a/sdk/lib/_internal/pub/test/test_pub.dart b/sdk/lib/_internal/pub/test/test_pub.dart |
index bf6dbcc10f220dc0b03030474e363c4edfbd7f05..5fb36e6ab474cb54717214e7f116d2c7dcb75cf0 100644 |
--- a/sdk/lib/_internal/pub/test/test_pub.dart |
+++ b/sdk/lib/_internal/pub/test/test_pub.dart |
@@ -424,7 +424,8 @@ ScheduledProcess startPublish(ScheduledServer server, {List args}) { |
void confirmPublish(ScheduledProcess pub) { |
// TODO(rnystrom): This is overly specific and inflexible regarding different |
// test packages. Should validate this a little more loosely. |
- expect(pub.nextLine(), completion(equals('Publishing "test_pkg" 1.0.0:'))); |
+ expect(pub.nextLine(), completion(startsWith( |
+ 'Publishing "test_pkg" 1.0.0 to '))); |
expect(pub.nextLine(), completion(equals("|-- LICENSE"))); |
expect(pub.nextLine(), completion(equals("|-- lib"))); |
expect(pub.nextLine(), completion(equals("| '-- test_pkg.dart"))); |