Skip to content

Commit 66864ff

Browse files
committed
Add new tests
1 parent 014f7b3 commit 66864ff

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

test.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,14 @@ run args 15 '(defun f (x y z) (+ x y z)) (f 3 5 7)'
164164
run restargs '(3 5 7)' '(defun f (x . y) (cons x y)) (f 3 5 7)'
165165
run restargs '(3)' '(defun f (x . y) (cons x y)) (f 3)'
166166

167+
# strings
168+
run string= '()' '(string= "hello" "Hello")'
169+
run string= t '(string= "hello" "hello")'
170+
run 'symbol->string' 'twelve' "
171+
(define twelve 12)
172+
(symbol->string 'twelve)"
173+
run 'string->symbol' 'twelve' '(string->symbol "twelve")'
174+
167175
# Lexical closures
168176
run closure 3 '(defun call (f) ((lambda (var) (f)) 5))
169177
((lambda (var) (call (lambda () var))) 3)'

0 commit comments

Comments
 (0)