summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRussell Sim <russell.sim@gmail.com>2013-04-23 19:39:56 +1000
committerRussell Sim <russell.sim@gmail.com>2013-04-23 19:39:56 +1000
commit60099ed0df235993076892c7816b438bedce8c47 (patch)
tree1386ac376725113c0aeb54d77266e0bf9f21aff2 /tests
parent690efaf0304427ab5ab023c67b27459beccc4b15 (diff)
downloadpygments-60099ed0df235993076892c7816b438bedce8c47.tar.gz
Added symbol handling for symbols that begin with :# and ::. Fixes #811
Diffstat (limited to 'tests')
-rw-r--r--tests/examplefiles/type.lisp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/examplefiles/type.lisp b/tests/examplefiles/type.lisp
index 9c769379..c02c29df 100644
--- a/tests/examplefiles/type.lisp
+++ b/tests/examplefiles/type.lisp
@@ -1200,3 +1200,19 @@ Henry Baker:
(unless (clos::funcallable-instance-p #'clos::class-name)
(fmakunbound 'clos::class-name))
+
+
+(keywordp :junk)
+ T
+
+(keywordp ::junk)
+ T
+
+(symbol-name ::junk)
+ "JUNK"
+
+(symbol-name :#junk)
+ "#JUNK"
+
+(symbol-name :#.junk)
+ "#.JUNK"