Skip to content

Commit 63b561c

Browse files
committed
Fix glam tests
1 parent e7d7368 commit 63b561c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

crates/bevy_reflect/src/lib.rs

+10-10
Original file line numberDiff line numberDiff line change
@@ -942,11 +942,11 @@ bevy_reflect::tests::should_reflect_debug::Test {
942942
let output = to_string_pretty(&ser, config).unwrap();
943943
let expected = r#"
944944
{
945-
"glam::f32::vec3::Vec3": {
946-
"x": 12.0,
947-
"y": 3.0,
948-
"z": -6.9,
949-
},
945+
"glam::f32::vec3::Vec3": (
946+
x: 12.0,
947+
y: 3.0,
948+
z: -6.9,
949+
),
950950
}"#;
951951

952952
assert_eq!(expected, format!("\n{}", output));
@@ -956,11 +956,11 @@ bevy_reflect::tests::should_reflect_debug::Test {
956956
fn vec3_deserialization() {
957957
let data = r#"
958958
{
959-
"glam::f32::vec3::Vec3": {
960-
"x": 12.0,
961-
"y": 3.0,
962-
"z": -6.9,
963-
},
959+
"glam::f32::vec3::Vec3": (
960+
x: 12.0,
961+
y: 3.0,
962+
z: -6.9,
963+
),
964964
}"#;
965965

966966
let mut registry = TypeRegistry::default();

0 commit comments

Comments
 (0)