diff --git a/pkg/pr/src/prefix.rs b/pkg/pr/src/prefix.rs index bfde9f4..af4a8fb 100644 --- a/pkg/pr/src/prefix.rs +++ b/pkg/pr/src/prefix.rs @@ -6,6 +6,7 @@ use regex::Regex; use crate::error::Result; +//these prefixes in the PR title prevent validation failure const PREFIX_FEATURE: (&str, &str) = (":sparkles:", "✨"); const PREFIX_BUG_FIX: (&str, &str) = (":bug:", "🐛"); const PREFIX_DOCS: (&str, &str) = (":book:", "📖"); @@ -126,6 +127,7 @@ mod tests { } #[test] + //test title validation fn title_cases() { let test_cases = vec![ TestCase {