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 @@ -444,7 +444,7 @@ public void MapUnitToAbbreviation_AddCustomUnit_DoesNotOverrideDefaultAbbreviati
444
444
[ Fact ]
445
445
public void NegativeInfinityFormatting ( )
446
446
{
447
- Assert . Equal ( "-∞ m" , Length . FromMeters ( double . NegativeInfinity ) . ToString ( LengthUnit . Meter , CultureInfo . InvariantCulture ) ) ;
447
+ Assert . Equal ( "-∞ m" , Length . FromMeters ( double . NegativeInfinity ) . ToString ( ) ) ;
448
448
}
449
449
450
450
[ Fact ]
@@ -476,7 +476,7 @@ public void Parse_UnambiguousUnitsDoesNotThrow()
476
476
[ Fact ]
477
477
public void PositiveInfinityFormatting ( )
478
478
{
479
- Assert . Equal ( "∞ m" , Length . FromMeters ( double . PositiveInfinity ) . ToString ( LengthUnit . Meter , CultureInfo . InvariantCulture ) ) ;
479
+ Assert . Equal ( "∞ m" , Length . FromMeters ( double . PositiveInfinity ) . ToString ( ) ) ;
480
480
}
481
481
482
482
/// <summary>
You can’t perform that action at this time.
0 commit comments