refactor: Reformatted code to make the format checks pass

This commit is contained in:
Dark-Alex-17 committed 2025-03-07 10:36:40 -07:00
1 parent 228e4a61a4
commit c5a3f424d6
3 files changed
+25 -22

No files matched your search

+6 -6
View File
@@ -3,13 +3,13 @@ use pretty_assertions::assert_str_eq;
#[test]
fn test_derive_enum_display_style() {
assert_str_eq!(TestEnum::Test.to_display_str(), "Testing 123");
assert_str_eq!(TestEnum::Ignored.to_display_str(), "Ignored");
assert_str_eq!(TestEnum::Test.to_display_str(), "Testing 123");
assert_str_eq!(TestEnum::Ignored.to_display_str(), "Ignored");
}
#[derive(EnumDisplayStyle)]
pub enum TestEnum {
#[display_style(name = "Testing 123")]
Test,
Ignored,
}
#[display_style(name = "Testing 123")]
Test,
Ignored,
}