From 63b561ce4d6f439f16d1293b3079be5cb51fe242 Mon Sep 17 00:00:00 2001 From: Gino Valente Date: Wed, 17 Aug 2022 20:11:42 -0700 Subject: [PATCH] Fix glam tests --- crates/bevy_reflect/src/lib.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/crates/bevy_reflect/src/lib.rs b/crates/bevy_reflect/src/lib.rs index 2f8c5d26263096..71d2572112328c 100644 --- a/crates/bevy_reflect/src/lib.rs +++ b/crates/bevy_reflect/src/lib.rs @@ -942,11 +942,11 @@ bevy_reflect::tests::should_reflect_debug::Test { let output = to_string_pretty(&ser, config).unwrap(); let expected = r#" { - "glam::f32::vec3::Vec3": { - "x": 12.0, - "y": 3.0, - "z": -6.9, - }, + "glam::f32::vec3::Vec3": ( + x: 12.0, + y: 3.0, + z: -6.9, + ), }"#; assert_eq!(expected, format!("\n{}", output)); @@ -956,11 +956,11 @@ bevy_reflect::tests::should_reflect_debug::Test { fn vec3_deserialization() { let data = r#" { - "glam::f32::vec3::Vec3": { - "x": 12.0, - "y": 3.0, - "z": -6.9, - }, + "glam::f32::vec3::Vec3": ( + x: 12.0, + y: 3.0, + z: -6.9, + ), }"#; let mut registry = TypeRegistry::default();