Skip to content

Commit e4ed49f

Browse files
committed
Fix tests
1 parent 21f8052 commit e4ed49f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cw-schema-codegen/tests/python_tpl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ fn simple_enum() {
9494
macro_rules! validator {
9595
($ty:ty, $example:expr) => {{
9696
(
97-
stringify!($ty),
97+
::std::any::type_name::<$ty>().replace("::", "_"),
9898
cw_schema::schema_of::<$ty>(),
9999
serde_json::to_string(&$example).unwrap(),
100100
{

0 commit comments

Comments
 (0)