Skip to content

Commit

Permalink
Fix glam tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGVSV committed Aug 18, 2022
1 parent 45c9214 commit 785978b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions crates/bevy_reflect/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand All @@ -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();
Expand Down

0 comments on commit 785978b

Please sign in to comment.