Skip to content

Commit ae599c0

Browse files
committed
Update other tests affected by "Switching" change
1 parent 21d85fe commit ae599c0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/testsuite/git.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ fn recompilation() {
621621
p.cargo("update")
622622
.with_stderr(&format!(
623623
"[UPDATING] git repository `{}`\n\
624-
[UPDATING] bar v0.5.0 ([..]) -> #[..]\n\
624+
[SWITCHING] bar v0.5.0 ([..]) -> #[..]\n\
625625
",
626626
git_project.url()
627627
))
@@ -774,7 +774,7 @@ Caused by:
774774
p.cargo("update dep1 --recursive")
775775
.with_stderr(&format!(
776776
"[UPDATING] git repository `{}`\n\
777-
[UPDATING] bar v0.5.0 ([..]) -> #[..]\n\
777+
[SWITCHING] bar v0.5.0 ([..]) -> #[..]\n\
778778
",
779779
git_project.url()
780780
))
@@ -1186,7 +1186,7 @@ fn two_deps_only_update_one() {
11861186
p.cargo("update dep1")
11871187
.with_stderr(&format!(
11881188
"[UPDATING] git repository `{}`\n\
1189-
[UPDATING] dep1 v0.5.0 ([..]) -> #[..]\n\
1189+
[SWITCHING] dep1 v0.5.0 ([..]) -> #[..]\n\
11901190
",
11911191
git1.url()
11921192
))
@@ -1372,7 +1372,7 @@ fn dep_with_changed_submodule() {
13721372
.with_stderr(&format!(
13731373
"[UPDATING] git repository `{}`\n\
13741374
[UPDATING] git submodule `file://[..]/dep3`\n\
1375-
[UPDATING] dep1 v0.5.0 ([..]) -> #[..]\n\
1375+
[SWITCHING] dep1 v0.5.0 ([..]) -> #[..]\n\
13761376
",
13771377
git_project.url()
13781378
))

tests/testsuite/update.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ rustdns.workspace = true
10371037
"\
10381038
[UPDATING] git repository `{}`
10391039
[UPDATING] rootcrate v2.29.8 ([CWD]/rootcrate) -> v2.29.81
1040-
[UPDATING] rustdns v0.5.0 ([..]) -> [..]
1040+
[SWITCHING] rustdns v0.5.0 ([..]) -> [..]
10411041
[UPDATING] subcrate v2.29.8 ([CWD]/subcrate) -> v2.29.81",
10421042
git_project.url(),
10431043
))
@@ -1129,7 +1129,7 @@ rustdns.workspace = true
11291129
[UPDATING] git repository `{}`
11301130
[UPDATING] crate1 v2.29.8 ([CWD]/crate1) -> v2.29.81
11311131
[UPDATING] crate2 v2.29.8 ([CWD]/crate2) -> v2.29.81
1132-
[UPDATING] rustdns v0.5.0 ([..]) -> [..]",
1132+
[SWITCHING] rustdns v0.5.0 ([..]) -> [..]",
11331133
git_project.url(),
11341134
))
11351135
.run();

0 commit comments

Comments
 (0)