Skip to content

Commit 2b2931f

Browse files
authored
Merge pull request #1124 from moiseev/not-too-complex
[test] Simplify expression in a test
2 parents f7a975e + d00d1bc commit 2b2931f

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)