File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ fn test_plugin() {
121121use sdformat_rs:: SdfLight ;
122122#[ test]
123123fn test_light_direction_pose_serdeser ( ) {
124- let test_syntax = "<?xml version=\" 1.0\" encoding=\" utf -8\" ?><light name=\" test\" type=\" point\" ><direction>0 0 1</direction></light>" ;
124+ let test_syntax = "<?xml version=\" 1.0\" encoding=\" UTF -8\" ?><light name=\" test\" type=\" point\" ><direction>0 0 1</direction></light>" ;
125125 let fr = from_str :: < SdfLight > ( test_syntax) ;
126126 let serialized = yaserde:: ser:: to_string ( & fr. unwrap ( ) ) . unwrap ( ) ;
127127 assert_eq ! ( test_syntax. to_string( ) , serialized) ;
@@ -130,7 +130,7 @@ fn test_light_direction_pose_serdeser() {
130130use sdformat_rs:: SdfModel ;
131131#[ test]
132132fn test_nested_model ( ) {
133- let test_syntax = "<?xml version=\" 1.0\" encoding=\" utf -8\" ?><model name=\" top\" ><model name=\" nested\" /></model>" ;
133+ let test_syntax = "<?xml version=\" 1.0\" encoding=\" UTF -8\" ?><model name=\" top\" ><model name=\" nested\" /></model>" ;
134134 let fr = from_str :: < SdfModel > ( test_syntax) ;
135135 let serialized = yaserde:: ser:: to_string ( & fr. unwrap ( ) ) . unwrap ( ) ;
136136 assert_eq ! ( test_syntax. to_string( ) , serialized) ;
You can’t perform that action at this time.
0 commit comments