]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/ctm-typed-names.lisp
examples: explore project work through native Topic Maps (slice 22U)
[topic-maps.git] / tests / ctm-typed-names.lisp
index 90123d53104fa2fa5e43c4d32b9d68f59ddf1e0f..0a279d174f1b2f955ab396670cc7658cf0cb4e9c 100644 (file)
                 (equal (list (local-topic map "theme")) (topic-maps.tmdm:topic-name-scope name)))))
   (dolist (text '("a - [-\"fullname\" ~r]:\"Name\"."
                   "a - type:\"Name\" ~reifier." "a - type:\"Name\" (\"variant\" @theme ~r)."))
                 (equal (list (local-topic map "theme")) (topic-maps.tmdm:topic-name-scope name)))))
   (dolist (text '("a - [-\"fullname\" ~r]:\"Name\"."
                   "a - type:\"Name\" ~reifier." "a - type:\"Name\" (\"variant\" @theme ~r)."))
-    (check (concatenate 'string "typed-reader:excluded-feature:" text) (typep (ctm-condition text) 'ctm-unsupported))))
+    (check (concatenate 'string "typed-reader:feature-boundary:" text) (if (find #\~ text) (null (ctm-condition text)) (typep (ctm-condition text) 'ctm-unsupported)))))
 
 (defun typed-name-order-tests ()
   (let ((reference nil))
 
 (defun typed-name-order-tests ()
   (let ((reference nil))