mirror of
https://github.com/janet-lang/janet
synced 2026-10-04 06:41:41 +00:00
Address #336 case 3
Fix error condition for bad abstract types - don't return NULL, panic.
This commit is contained in:
@@ -212,5 +212,6 @@
|
||||
|
||||
(assert-error "unmarshal errors 1" (unmarshal @"\xd6\xb9\xb9"))
|
||||
(assert-error "unmarshal errors 2" (unmarshal @"\xd7bc"))
|
||||
(assert-error "unmarshal errors 3" (unmarshal "\xd3\x01\xd9\x01\x62\xcf\x03\x78\x79\x7a" load-image-dict))
|
||||
|
||||
(end-suite)
|
||||
|
||||
Reference in New Issue
Block a user