File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ mod tests {
396396 unit_string. into_pressure_unit( ) . unwrap( ) ,
397397 PressureUnit :: Kilopascal
398398 ) ;
399-
399+
400400 let invalid_string = String :: from ( "invalid" ) ;
401401 assert ! ( invalid_string. into_pressure_unit( ) . is_err( ) ) ;
402402
@@ -415,7 +415,10 @@ mod tests {
415415 assert_eq ! ( format!( "{}" , PressureUnit :: Millibar ) , "mbar" ) ;
416416 assert_eq ! ( format!( "{}" , PressureUnit :: Psi ) , "psi" ) ;
417417 assert_eq ! ( format!( "{}" , PressureUnit :: Ksi ) , "ksi" ) ;
418- assert_eq ! ( format!( "{}" , PressureUnit :: OunceForcePerSquareInch ) , "ozf/in²" ) ;
418+ assert_eq ! (
419+ format!( "{}" , PressureUnit :: OunceForcePerSquareInch ) ,
420+ "ozf/in²"
421+ ) ;
419422 assert_eq ! ( format!( "{}" , PressureUnit :: Barad ) , "Ba" ) ;
420423 assert_eq ! ( format!( "{}" , PressureUnit :: Pieze ) , "pz" ) ;
421424 assert_eq ! ( format!( "{}" , PressureUnit :: MillimeterMercury ) , "mmHg" ) ;
You can’t perform that action at this time.
0 commit comments