mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix typo in 32-bit portion of Integers test
This commit is contained in:
@@ -524,7 +524,7 @@ tests.test("words") {
|
|||||||
expectEqualSequence([(1 as UInt) << 63], Int64.min.words)
|
expectEqualSequence([(1 as UInt) << 63], Int64.min.words)
|
||||||
expectEqualSequence([UInt.max], (-1 as Int64).words)
|
expectEqualSequence([UInt.max], (-1 as Int64).words)
|
||||||
% else:
|
% else:
|
||||||
expectEqualSequence([UInt.max, UInt.max], Int64.max.words)
|
expectEqualSequence([UInt.max, UInt.max], UInt64.max.words)
|
||||||
expectEqualSequence([0 as UInt, 0], UInt64.min.words)
|
expectEqualSequence([0 as UInt, 0], UInt64.min.words)
|
||||||
expectEqualSequence([UInt.max, UInt.max >> 1], Int64.max.words)
|
expectEqualSequence([UInt.max, UInt.max >> 1], Int64.max.words)
|
||||||
expectEqualSequence([0 as UInt, 1 << 31], Int64.min.words)
|
expectEqualSequence([0 as UInt, 1 << 31], Int64.min.words)
|
||||||
|
|||||||
Reference in New Issue
Block a user