Skip to content

Commit

Permalink
fix(test): use default tag_pattern for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Jun 18, 2021
1 parent 3a27a3e commit e6fb8de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion git-cliff-core/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn generate_changelog() -> Result<()> {
},
]),
filter_commits: Some(true),
tag_pattern: String::new(),
tag_pattern: None,
skip_tags: None,
};

Expand Down
2 changes: 1 addition & 1 deletion git-cliff/src/changelog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ mod test {
},
]),
filter_commits: Some(false),
tag_pattern: String::new(),
tag_pattern: None,
skip_tags: Regex::new("v3.*").ok(),
},
};
Expand Down

0 comments on commit e6fb8de

Please sign in to comment.