File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ impl<'a, 'de> de::Deserializer<'de> for &'a mut Deserializer<'de> {
511511 where
512512 V : Visitor < ' de > ,
513513 {
514- match self . peek ( ) . ok_or ( Error :: EofWhileParsingValue ) ? {
514+ match self . parse_whitespace ( ) . ok_or ( Error :: EofWhileParsingValue ) ? {
515515 b'[' => {
516516 self . eat_char ( ) ;
517517 let ret = visitor. visit_seq ( SeqAccess :: new ( self ) ) ?;
@@ -1054,7 +1054,6 @@ mod tests {
10541054
10551055 // See https://iot.mozilla.org/wot/#thing-resource
10561056 #[ test]
1057- #[ ignore]
10581057 fn wot ( ) {
10591058 #[ derive( Debug , Deserialize , PartialEq ) ]
10601059 struct Thing < ' a > {
@@ -1114,7 +1113,7 @@ mod tests {
11141113 properties: Properties {
11151114 temperature: Property {
11161115 ty: Type :: Number ,
1117- unit: Some ( "celcius " ) ,
1116+ unit: Some ( "celsius " ) ,
11181117 description: Some ( "An ambient temperature sensor" ) ,
11191118 href: "/properties/temperature" ,
11201119 } ,
You can’t perform that action at this time.
0 commit comments