git » jacl.git » commit 3305575

port more tests

author Alan Dipert
2020-03-01 06:12:33 UTC
committer Alan Dipert
2020-03-01 06:12:33 UTC
parent 4288788e88379c03163bc34a1080856aaf41fa91

port more tests

jacl-tests.lisp +4 -2

diff --git a/jacl-tests.lisp b/jacl-tests.lisp
index f9831b9..df3b329 100644
--- a/jacl-tests.lisp
+++ b/jacl-tests.lisp
@@ -30,7 +30,9 @@
   (assert= (await (read1 "1. "))    1.   "number with trailing dot"))
 
 (deftest "Symbols"
-  (let ((sym (await (read1 @"somesym "))))
-    (assert= (\. sym |name|) @"SOMESYM" "simple symbol name")))
+  (let ((sym nil))
+    (setq sym (await (read1 @"somesym ")))
+    (assert= (\. sym |name|) @"SOMESYM" "simple symbol name")
+    (assert= (\. sym |packageName|) @"COMMON-LISP-USER" "simple symbol package")))
 
 (\. @|QUnit| (|start|))