Skip to content

Commit 9ce30a6

Browse files
committed
Update tests to resolve recent changes
Upstream changed these messages slightly.
1 parent a94bce6 commit 9ce30a6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/testsuite/build_script.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3966,7 +3966,7 @@ fn warnings_emitted_from_path_dep() {
39663966

39673967
p.cargo("build")
39683968
.with_stderr_data(str![[r#"
3969-
[LOCKING] 2 packages to latest compatible versions
3969+
[LOCKING] 1 package to latest compatible version
39703970
[COMPILING] a v0.5.0 ([ROOT]/foo/a)
39713971
[WARNING] [email protected]: foo
39723972
[WARNING] [email protected]: bar
@@ -4076,7 +4076,7 @@ fn warnings_emitted_when_dependency_panics() {
40764076
.with_status(101)
40774077
.with_stderr_data(str![[r#"
40784078
[UPDATING] `dummy-registry` index
4079-
[LOCKING] 2 packages to latest compatible versions
4079+
[LOCKING] 1 package to latest compatible version
40804080
[DOWNLOADING] crates ...
40814081
[DOWNLOADED] published v0.1.0 (registry `dummy-registry`)
40824082
[COMPILING] published v0.1.0
@@ -4148,7 +4148,7 @@ fn log_messages_emitted_when_dependency_logs_errors() {
41484148
.with_status(101)
41494149
.with_stderr_data(str![[r#"
41504150
[UPDATING] `dummy-registry` index
4151-
[LOCKING] 2 packages to latest compatible versions
4151+
[LOCKING] 1 package to latest compatible version
41524152
[DOWNLOADING] crates ...
41534153
[DOWNLOADED] published v0.1.0 (registry `dummy-registry`)
41544154
[COMPILING] published v0.1.0

tests/testsuite/warn_on_failure.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ fn no_warning_on_bin_failure() {
8888
.with_stdout_does_not_contain("hidden stdout")
8989
.with_stderr_data(str![[r#"
9090
[UPDATING] `dummy-registry` index
91-
[LOCKING] 2 packages to latest compatible versions
91+
[LOCKING] 1 package to latest compatible version
9292
[DOWNLOADING] crates ...
9393
[DOWNLOADED] bar v0.0.1 (registry `dummy-registry`)
9494
[COMPILING] bar v0.0.1
@@ -112,7 +112,7 @@ fn warning_on_lib_failure() {
112112
.with_stdout_does_not_contain("hidden stdout")
113113
.with_stderr_data(str![[r#"
114114
[UPDATING] `dummy-registry` index
115-
[LOCKING] 2 packages to latest compatible versions
115+
[LOCKING] 1 package to latest compatible version
116116
[DOWNLOADING] crates ...
117117
[DOWNLOADED] bar v0.0.1 (registry `dummy-registry`)
118118
[COMPILING] bar v0.0.1

0 commit comments

Comments
 (0)