Skip to content

Commit 3c295cf

Browse files
committed
Update tests for publish text changes
1 parent 7b317f3 commit 3c295cf

File tree

3 files changed

+36
-9
lines changed

3 files changed

+36
-9
lines changed

tests/testsuite/alt_registry.rs

+12-3
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,10 @@ fn publish_with_registry_dependency() {
328328
[FINISHED] [..]
329329
[PACKAGED] [..]
330330
[UPLOADING] foo v0.0.1 [..]
331-
[UPDATING] `alternative` index
331+
[UPLOADED] foo v0.0.1 to registry `alternative`
332+
note: Waiting for `foo v0.0.1` to be available at registry `alternative`.
333+
You may press ctrl-c to skip waiting; the crate should be available shortly.
334+
[PUBLISHED] foo v0.0.1 at registry `alternative`
332335
",
333336
)
334337
.run();
@@ -457,7 +460,10 @@ fn publish_to_alt_registry() {
457460
[FINISHED] [..]
458461
[PACKAGED] [..]
459462
[UPLOADING] foo v0.0.1 [..]
460-
[UPDATING] `alternative` index
463+
[UPLOADED] foo v0.0.1 to registry `alternative`
464+
note: Waiting for `foo v0.0.1` to be available at registry `alternative`.
465+
You may press ctrl-c to skip waiting; the crate should be available shortly.
466+
[PUBLISHED] foo v0.0.1 at registry `alternative`
461467
",
462468
)
463469
.run();
@@ -535,7 +541,10 @@ fn publish_with_crates_io_dep() {
535541
[FINISHED] [..]
536542
[PACKAGED] [..]
537543
[UPLOADING] foo v0.0.1 [..]
538-
[UPDATING] `alternative` index
544+
[UPLOADED] foo v0.0.1 to registry `alternative`
545+
note: Waiting for `foo v0.0.1` to be available at registry `alternative`.
546+
You may press ctrl-c to skip waiting; the crate should be available shortly.
547+
[PUBLISHED] foo v0.0.1 at registry `alternative`
539548
",
540549
)
541550
.run();

tests/testsuite/cargo_features.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,10 @@ fn publish_allowed() {
644644
[FINISHED] [..]
645645
[PACKAGED] [..]
646646
[UPLOADING] a v0.0.1 [..]
647-
[UPDATING] [..]
647+
[UPLOADED] a v0.0.1 to registry `crates-io`
648+
note: Waiting for `a v0.0.1` to be available at registry `crates-io`.
649+
You may press ctrl-c to skip waiting; the crate should be available shortly.
650+
[PUBLISHED] a v0.0.1 at registry `crates-io`
648651
",
649652
)
650653
.run();

tests/testsuite/inheritable_workspace_fields.rs

+20-5
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,10 @@ fn inherit_own_workspace_fields() {
172172
[FINISHED] [..]
173173
[PACKAGED] [..]
174174
[UPLOADING] foo v1.2.3 [..]
175-
[UPDATING] [..]
175+
[UPLOADED] foo v1.2.3 to registry `crates-io`
176+
note: Waiting for `foo v1.2.3` to be available at registry `crates-io`.
177+
You may press ctrl-c to skip waiting; the crate should be available shortly.
178+
[PUBLISHED] foo v1.2.3 at registry `crates-io`
176179
",
177180
)
178181
.run();
@@ -318,7 +321,10 @@ fn inherit_own_dependencies() {
318321
[FINISHED] [..]
319322
[PACKAGED] [..]
320323
[UPLOADING] bar v0.2.0 [..]
321-
[UPDATING] [..]
324+
[UPLOADED] bar v0.2.0 to registry `crates-io`
325+
note: Waiting for `bar v0.2.0` to be available at registry `crates-io`.
326+
You may press ctrl-c to skip waiting; the crate should be available shortly.
327+
[PUBLISHED] bar v0.2.0 at registry `crates-io`
322328
",
323329
)
324330
.run();
@@ -460,7 +466,10 @@ fn inherit_own_detailed_dependencies() {
460466
[FINISHED] [..]
461467
[PACKAGED] [..]
462468
[UPLOADING] bar v0.2.0 [..]
463-
[UPDATING] [..]
469+
[UPLOADED] bar v0.2.0 to registry `crates-io`
470+
note: Waiting for `bar v0.2.0` to be available at registry `crates-io`.
471+
You may press ctrl-c to skip waiting; the crate should be available shortly.
472+
[PUBLISHED] bar v0.2.0 at registry `crates-io`
464473
",
465474
)
466475
.run();
@@ -696,7 +705,10 @@ fn inherit_workspace_fields() {
696705
[FINISHED] [..]
697706
[PACKAGED] [..]
698707
[UPLOADING] bar v1.2.3 [..]
699-
[UPDATING] [..]
708+
[UPLOADED] bar v1.2.3 to registry `crates-io`
709+
note: Waiting for `bar v1.2.3` to be available at registry `crates-io`.
710+
You may press ctrl-c to skip waiting; the crate should be available shortly.
711+
[PUBLISHED] bar v1.2.3 at registry `crates-io`
700712
",
701713
)
702714
.run();
@@ -850,7 +862,10 @@ fn inherit_dependencies() {
850862
[FINISHED] [..]
851863
[PACKAGED] [..]
852864
[UPLOADING] bar v0.2.0 [..]
853-
[UPDATING] [..]
865+
[UPLOADED] bar v0.2.0 to registry `crates-io`
866+
note: Waiting for `bar v0.2.0` to be available at registry `crates-io`.
867+
You may press ctrl-c to skip waiting; the crate should be available shortly.
868+
[PUBLISHED] bar v0.2.0 at registry `crates-io`
854869
",
855870
)
856871
.run();

0 commit comments

Comments
 (0)