We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7f794f commit 61ec479Copy full SHA for 61ec479
UnitsNet.Tests/UnitSystemTests.cs
@@ -404,7 +404,7 @@ public void ToString_WithRussianCulture()
404
[Fact]
405
public void GetDefaultAbbreviationFallsBackToDefaultStringIfNotSpecified()
406
{
407
- UnitSystem usUnits = UnitSystem.GetCached(AmericanCultureName);
+ UnitSystem usUnits = new UnitSystem(AmericanCultureName);
408
string abbreviation = usUnits.GetDefaultAbbreviation(CustomUnit.Unit1);
409
Assert.Equal("(no abbreviation for CustomUnit.Unit1)", abbreviation);
410
}
0 commit comments