Added more tests.
h3rald h3rald@h3rald.com
Wed, 11 Dec 2024 07:42:24 +0100
1 files changed,
6 insertions(+),
0 deletions(-)
jump to
M
scripts/test.hex
→
scripts/test.hex
@@ -212,6 +212,12 @@ ((0x4 len) (error) try "Symbol 'len' requires a quotation or a string" ==)
(("abc" "b" get) (error) try "Index must be an integer" ==) (((0x4 "aa" test) "b" get) (error) try "Index must be an integer" ==) ;116 + + (("abc" 0x3 get) (error) try "Index out of range" ==) + (((0x2) 0x2 get) (error) try "Index out of range" ==) + ((() 0x0 get) (error) try "Index out of range" ==) + ((0x4 0x4 get) (error) try "Symbol 'get' requires a quotation or a string" ==) + ;120 ) "tests" :