Skip to content

Commit d00d1bc

Browse files
author
Max Moiseev
committed
[test] Simplify expression in a test
This expression became too complex due to the changes introduced in swiftlang/swift#11044
1 parent ee8221b commit d00d1bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TestFoundation/TestNSDecimal.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class TestNSDecimal: XCTestCase {
185185
_length: 0xff,
186186
_isNegative: 3,
187187
_isCompact: 4,
188-
_reserved: UInt32(1<<18 + 1<<17 + 1),
188+
_reserved: 1<<18 + 1<<17 + 1,
189189
_mantissa: (6, 7, 8, 9, 10, 11, 12, 13)
190190
)
191191
XCTAssertEqual(0x7f, explicit._exponent)

0 commit comments

Comments
 (0)