Skip to content

Commit

Permalink
adjust journey test expectations, hopefully cross-platform
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Aug 1, 2024
1 parent 459c9ce commit cd2443d
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 8 deletions.
6 changes: 3 additions & 3 deletions tests/journey.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ function init-git-repo() {
title "changelog"
(sandbox
set-static-git-environment
export CARGO_HOME=$PWD
export CARGO_HOME="$(mktemp -t cargo-home.XXXXXX -d)"

snapshot="$snapshot/triple-depth-workspace-changelog"
cp -R $fixtures/tri-depth-workspace/* .
{ echo $'target/\n.package-cache' > .gitignore && init-git-repo; } &>/dev/null
{ echo $'target/' > .gitignore && init-git-repo; } &>/dev/null

(when "interacting with 'a'"
(with 'dry-run only'
Expand All @@ -69,7 +69,7 @@ title "changelog"
title "smart-release"
(sandbox
set-static-git-environment
export CARGO_HOME=$PWD
export CARGO_HOME="$(mktemp -t cargo-home.XXXXXX -d)"

snapshot="$snapshot/triple-depth-workspace"
cp -R $fixtures/tri-depth-workspace/* .
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
target/
.package-cache
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<details><summary>view details</summary>

* **Uncategorized**
- Initial (8611afa)
- Initial (0519584)
</details>

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[INFO ] WOULD minor-bump provided package 'b' from 0.8.0 to 0.9.0 for publishing, for SAFETY due to breaking package 'a'
[INFO ] WOULD adjust 1 manifest version due to breaking change in 'a': 'b' 0.8.0 ➡ 0.9.0
[INFO ] WOULD adjust 1 manifest version due to breaking change in 'b': 'c' 8.0.0 ➡ 9.0.0
[WARN ] The working tree has changes which will prevent a release with --execute unless --allow-dirty is also specified. The latter isn't recommended.
[INFO ] WOULD modify existing changelog for 'a'.
[INFO ] WOULD modify existing changelog for 'b'.
[TRACE] Pending 'a' manifest version update: "0.9.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
[INFO ] WOULD minor-bump provided package 'a' from 0.8.0 to 0.9.0 for publishing
[INFO ] WOULD adjust 1 manifest version due to breaking change in 'a': 'b' 0.8.0 ➡ 0.9.0
[INFO ] WOULD adjust 1 manifest version due to breaking change in 'b': 'c' 8.0.0 ➡ 9.0.0
[WARN ] The working tree has changes which will prevent a release with --execute unless --allow-dirty is also specified. The latter isn't recommended.
[INFO ] WOULD modify existing changelog for 'a'.
[TRACE] Pending 'a' manifest version update: "0.9.0"
[TRACE] Pending 'b' manifest version update: "0.9.0"
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<details><summary>view details</summary>

* **Uncategorized**
- Initial (b07fabe)
- Initial (ab21321)
</details>

## v0.8.0 (2021-09-09)
Expand Down
Empty file.

0 comments on commit cd2443d

Please sign in to comment.