Skip to content

Commit cb1df2f

Browse files
committed
Change test to address reviewer comments
1 parent cd32f34 commit cb1df2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interpreter/SDK/NSDecimal.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ ten = Decimal(10)
118118
twenty.divide(by: ten)
119119
print(twenty) // CHECK: 2
120120

121-
twenty = Decimal(20)
121+
twenty = NSDecimalNumber(mantissa: 2, exponent: 1, isNegative: false) as Decimal
122122
print(twenty.significand) // CHECK: 2
123123
print(twenty.exponent) // CHECK: 1
124124
print(twenty.ulp) // CHECK: 10

0 commit comments

Comments
 (0)