diff options
Diffstat (limited to 'testing/tests/matches.rs')
-rw-r--r-- | testing/tests/matches.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/tests/matches.rs b/testing/tests/matches.rs index 9fae70c..9ea1d72 100644 --- a/testing/tests/matches.rs +++ b/testing/tests/matches.rs @@ -15,7 +15,6 @@ struct MatchOptRefTemplate<'a> { item: &'a Option<&'a str>, } - #[test] fn test_match_option() { let s = MatchOptTemplate { item: Some("foo") }; @@ -79,7 +78,9 @@ struct MatchCustomEnumTemplate { #[test] fn test_match_custom_enum() { - let s = MatchCustomEnumTemplate { color: Color::Rgb(160, 0, 255) }; + let s = MatchCustomEnumTemplate { + color: Color::Rgb(160, 0, 255), + }; assert_eq!(s.render().unwrap(), "\n\nColorful: #A000FF\n"); } |