EJ72J6N2Y2FLX4V7UB2P6MORVVQZILQRZAC4ZYNTMPPA6W6WRKGAC
fn test_with_alnum_scope() {
let msg = "feat(bar2): add a foo to new bar";
let commit: Commit = msg.parse().expect("valid");
assert_eq!(
commit,
Commit {
r#type: Type::Feat,
scope: Some("bar2".into()),
breaking: false,
description: "add a foo to new bar".into(),
body: None,
footers: Vec::new()
}
);
}
#[test]