Skip to content

Commit 3c43f56

Browse files
committed
CustomCode/AmplitudeRatioTests.cs: Mute R# warning
1 parent a47d95d commit 3c43f56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UnitsNet.Tests/CustomCode/AmplitudeRatioTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public void InvalidVoltage_ExpectArgumentOutOfRangeException(double voltage)
5151
{
5252
ElectricPotential invalidVoltage = ElectricPotential.FromVolts(voltage);
5353

54+
// ReSharper disable once ObjectCreationAsStatement
5455
Assert.Throws<ArgumentOutOfRangeException>(() => new AmplitudeRatio(invalidVoltage));
5556
}
5657

0 commit comments

Comments
 (0)