co-author 0.1.0

Co-Author your git commits
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::authors::author::Author;

#[test]
fn should_omit_email_presenting_author() {
	let alias = "a";
	let name = "alice";
	let email = "alice@wonderland.not";
	let author = Author::new(alias, name, email);

	assert!(author.to_string().contains(alias));
	assert!(author.to_string().contains(name));
	assert!(!author.to_string().contains(email));
}