diff --git a/git-cliff-core/tests/integration_test.rs b/git-cliff-core/tests/integration_test.rs index 28f4a5c4..d226469c 100644 --- a/git-cliff-core/tests/integration_test.rs +++ b/git-cliff-core/tests/integration_test.rs @@ -44,7 +44,7 @@ fn generate_changelog() -> Result<()> { }, ]), filter_commits: Some(true), - tag_pattern: String::new(), + tag_pattern: None, skip_tags: None, }; diff --git a/git-cliff/src/changelog.rs b/git-cliff/src/changelog.rs index 5c5b8778..b96a6bb2 100644 --- a/git-cliff/src/changelog.rs +++ b/git-cliff/src/changelog.rs @@ -188,7 +188,7 @@ mod test { }, ]), filter_commits: Some(false), - tag_pattern: String::new(), + tag_pattern: None, skip_tags: Regex::new("v3.*").ok(), }, };