mirror of
https://github.com/janet-lang/janet
synced 2025-01-12 00:20:26 +00:00
Add test case for issue #1217
This commit is contained in:
parent
b5d3c87253
commit
3b6371e03d
@ -281,4 +281,7 @@
|
||||
(assert (= (int/s64 "0x7FFF_FFFF_FFFF_FFFF")
|
||||
(- (int/s64 "-0x8000_0000_0000_0000") 1)) "int types wrap around")
|
||||
|
||||
# Issue #1217
|
||||
(assert (= (- (int/u64 "0xFFFFFFFF") 1) (int/u64 "0xFFFFFFFE")) "u64 subtract")
|
||||
|
||||
(end-suite)
|
||||
|
Loading…
Reference in New Issue
Block a user