We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc26232 commit b1b2755Copy full SHA for b1b2755
crates/bevy_reflect/src/serde/ser/mod.rs
@@ -578,7 +578,10 @@ mod tests {
578
579
let processor = FooProcessor;
580
let serializer = ReflectSerializer::with_processor(&value, ®istry, &processor);
581
- let output = ron::ser::to_string_pretty(&serializer, PrettyConfig::default()).unwrap();
+
582
+ let config = PrettyConfig::default().new_line(String::from("\n"));
583
+ let output = ron::ser::to_string_pretty(&serializer, config).unwrap();
584
585
let expected = r#"{
586
"bevy_reflect::serde::ser::tests::Foo": (
587
bar: "an i32",
0 commit comments