diff --git a/parse-display-tests/features-tests/no_default_std/tests/test.rs b/parse-display-tests/features-tests/no_default_std/tests/test.rs index 6cf2db3..b1998f1 100644 --- a/parse-display-tests/features-tests/no_default_std/tests/test.rs +++ b/parse-display-tests/features-tests/no_default_std/tests/test.rs @@ -3,4 +3,4 @@ struct X(String); #[test] -fn no_defualt_std() {} +fn no_default_std() {} diff --git a/parse-display-tests/tests/display.rs b/parse-display-tests/tests/display.rs index 2c84125..dbfe364 100644 --- a/parse-display-tests/tests/display.rs +++ b/parse-display-tests/tests/display.rs @@ -542,7 +542,7 @@ fn display_enum_variant_format() { } #[test] -fn display_enum_variant_format_typle_var() { +fn display_enum_variant_format_tuple_var() { #[derive(Display)] enum TestEnum { #[display("AAA-{0}")] diff --git a/parse-display/src/tests.rs b/parse-display/src/tests.rs index 4ace82f..e8743d9 100644 --- a/parse-display/src/tests.rs +++ b/parse-display/src/tests.rs @@ -2,11 +2,11 @@ fn test_crate() { #[derive(crate::Display)] #[display(crate = crate)] - struct TeseDisplay(u32); + struct TestDisplay(u32); #[derive(crate::FromStr)] #[display(crate = crate)] - struct TeseFromStr(u32); + struct TestFromStr(u32); } mod my_mod { @@ -17,9 +17,9 @@ mod my_mod { fn test_crate_mod() { #[derive(crate::Display)] #[display(crate = my_mod::my_crate)] - struct TeseDisplay(u32); + struct TestDisplay(u32); #[derive(crate::FromStr)] #[display(crate = my_mod::my_crate)] - struct TeseFromStr(u32); + struct TestFromStr(u32); }