mit-commit-message-lints 6.0.11

Check the correctness of a specific commit message. Designed to be used in tools providing commit-msg style hooks
Documentation
1
2
3
4
5
6
7
8
9
10
#![allow(clippy::wildcard_imports)]

use crate::relates::RelateTo;

#[test]
fn test_convert_string_to_relate_to() {
    let relate = RelateTo::from("[#12343567]");

    assert_eq!(relate.to(), "[#12343567]");
}