-
- Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
A unit test update failed in the Windows CI amd64_batch2_3. It appears it is due to a constructor only copying one byte of a uint32.
test "IP V4": when defined(windows): # regular constructor fails var ip4 = InAddr(s_addr: 0x10111213'u32) assert ipv4.s_addr == 0x10111213'u32 # direct assign works var ip4v2: InAddr ip4v2.s_addr = 0x10111213'u32 assert ipv4v2.s_addr == 0x10111213'u32Output fails with an error similar to:
ipv4.s_addr is `19` but expected 0x10111213 Metadata
Metadata
Assignees
Labels
No labels