File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,5 @@ ron = "0.8"
26
26
serde = " 1"
27
27
serde_json = " 1"
28
28
bincode = " 1"
29
- serde_yaml = " 0.9"
30
29
rmp-serde = " 1"
31
30
futures = " 0.3"
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ pub(crate) fn run_tests() -> bool {
16
16
17
17
status &= test_ron ( ) ;
18
18
status &= test_json ( ) ;
19
- status &= test_yaml ( ) ;
20
19
status &= test_msgpack ( ) ;
21
20
status &= test_bincode ( ) ;
22
21
@@ -164,20 +163,6 @@ crate::godot_itest! { test_json {
164
163
assert_eq!( foo, result) ;
165
164
} }
166
165
167
- crate :: godot_itest! { test_yaml {
168
- let foo = Foo :: new( ) ;
169
-
170
- let yaml_str = serde_yaml:: to_string( & foo) . expect( "Foo to YAML" ) ;
171
- let result = serde_yaml:: from_str:: <Foo >( & yaml_str) . expect( "Foo from YAML" ) ;
172
- assert_eq!( foo, result) ;
173
-
174
- let yaml_str =
175
- serde_yaml:: to_string( & foo. to_variant( ) . dispatch( ) ) . expect( "Dispatch to YAML" ) ;
176
- let disp = serde_yaml:: from_str:: <VariantDispatch >( & yaml_str) . expect( "Dispatch from YAML" ) ;
177
- let result = Foo :: from_variant( & Variant :: from( & disp) ) . expect( "Foo from Dispatch from YAML" ) ;
178
- assert_eq!( foo, result) ;
179
- } }
180
-
181
166
crate :: godot_itest! { test_msgpack {
182
167
let foo = Foo :: new( ) ;
183
168
You can’t perform that action at this time.
0 commit comments