From 4c097591584f15f61fa830feb0d738f051a009c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Mon, 14 Aug 2023 00:33:27 +0300 Subject: [PATCH] refactor(clippy): apply clippy suggestions --- git-cliff-core/tests/integration_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-cliff-core/tests/integration_test.rs b/git-cliff-core/tests/integration_test.rs index 906bae8ebd..775afb0610 100644 --- a/git-cliff-core/tests/integration_test.rs +++ b/git-cliff-core/tests/integration_test.rs @@ -43,7 +43,7 @@ fn generate_changelog() -> Result<()> { filter_unconventional: Some(true), split_commits: Some(false), commit_preprocessors: Some(vec![TextProcessor { - pattern: Regex::new(r#"\(fixes (#[1-9]+)\)"#).unwrap(), + pattern: Regex::new(r"\(fixes (#[1-9]+)\)").unwrap(), replace: Some(String::from("[closes Issue${1}]")), replace_command: None, }]),