Skip to content

Commit

Permalink
fix(fixtures): fix test fixture failures
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Dec 16, 2022
1 parent 7325be8 commit 29b3dd1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/fixtures/test-commit-footers/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ body = """
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ commit.id }}))\
- {{ commit.message | upper_first }}\
{% for footer in commit.footers -%}
, {{ footer.token }}{{ footer.separator }}{{ footer.value }}\
{% endfor %}\
Expand Down
6 changes: 3 additions & 3 deletions .github/fixtures/test-commit-footers/expected.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ All notable changes to this project will be documented in this file.

### Fix

- Fix feature 1 ([540f28b](540f28b88861802ca6c196482c5c70933593561b)), footer1:xyz, footer2:abc
- Fix feature 1, footer1:xyz, footer2:abc

## [0.1.0] - 2021-01-23

### Feat

- Add feature 1 ([376fd60](376fd6043cb27af83973f31dd6aab87486d8e554)), footer:test
- Add feature 2 ([fc086fa](fc086faec7a5bd4429f62f01c4a871631f63be68)), Signed-off-by:bot
- Add feature 1, footer:test
- Add feature 2, Signed-off-by:bot

<!-- generated by git-cliff -->
2 changes: 1 addition & 1 deletion .github/fixtures/test-fixtures-locally.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ git init

# Show results
echo -e "\n---Run git-cliff---"
cargo run --manifest-path "$SCRIPT_DIR/../../Cargo.toml" -- --config "$FIXTURES_DIR/cliff.toml" "$@"
cargo run --manifest-path "$SCRIPT_DIR/../../Cargo.toml" -- --config "$FIXTURES_DIR/cliff.toml" "${@:2}"
2 changes: 1 addition & 1 deletion .github/fixtures/test-limit-commits/expected.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

## [0.1.0] - 2022-04-05
## [0.1.0] - 2022-04-06

### Fix

Expand Down
2 changes: 1 addition & 1 deletion .github/fixtures/test-skip-breaking-changes/expected.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

## [0.1.0] - 2022-04-05
## [0.1.0] - 2022-04-06

### Bug Fixes

Expand Down
2 changes: 1 addition & 1 deletion .github/fixtures/test-split-commits/expected.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

## [0.1.0] - 2022-04-05
## [0.1.0] - 2022-04-06

### Chore

Expand Down

0 comments on commit 29b3dd1

Please sign in to comment.