Skip to content

Commit 88fc829

Browse files
committed
Converted swift 3.0 DBL_MIN leftover
1 parent 074828d commit 88fc829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Charts/ChartUtilsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class ChartUtilsTests: XCTestCase {
6363

6464
func testDecimalWithMinValue() {
6565

66-
let number = DBL_MIN
66+
let number = Double.leastNormalMagnitude
6767

6868
let actual = ChartUtils.decimals(number)
6969
let expected = 310 // Don't think this is supposed to be this value maybe 0?

0 commit comments

Comments
 (0)