PPIFV6PIB7UBR2HUAKNAVQHZJCUDILNGAY7YQMPSR633V5WRKYUQC
WBBGVTIE2LOWQOAMAHVKGA3BPHCFPUU6DLJ5OJRKIVA3KJEIKGPAC
.into_iter()
.iter()
.map(|s| Arc::from(s))
.map(Arc::from)
self.0.iter().any(|sm| subtype_regex.is_match(&sm))
self.0.iter().any(|sm| subtype_regex.is_match(sm))
#[test] fn test_serde() { let subtype_a = Subtype::new("Mad:Dot / Dasher"); let subtype_b = Subtype::new("Mad-dot - Dasher"); let subtype_c = Subtype::new("Mad:Dot - Dasher"); insta::assert_ron_snapshot!([subtype_a, subtype_b, subtype_c]); }
#[test]
fn test_serde() {
let subtype_a = Subtype::new("Mad:Dot / Dasher");
let subtype_b = Subtype::new("Mad-dot - Dasher");
let subtype_c = Subtype::new("Mad:Dot - Dasher");
insta::assert_ron_snapshot!([subtype_a, subtype_b, subtype_c]);
}
---source: src/card/subtype.rsexpression: "[subtype_a, subtype_b, subtype_c]"---("mad:dot / dasher", "mad-dot - dasher", "mad:dot - dasher")
---
source: src/card/subtype.rs
expression: "[subtype_a, subtype_b, subtype_c]"
("mad:dot / dasher", "mad-dot - dasher", "mad:dot - dasher")