shithub: sl

Download patch

ref: 26bea7de784ff7cf44ffeae799f3623ca918d201
parent: f83efa2aed9e735236eb862c99aa6eb33d6fc0e5
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Feb 4 12:30:22 EST 2025

uni tests: get on non-table types

--- a/test/unittest.lsp
+++ b/test/unittest.lsp
@@ -735,6 +735,9 @@
 (assert-fail (get t 'foo))
 (assert-fail (del! t 'foo))
 
+(assert-fail (get "blah" 0))
+(assert-fail (get (list 0 1) 0))
+
 (assert (equal? (list 1 1 1) #0=(list 1 #1=1 #1#)))
 
 (assert-fail (sleep 1 2))