X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/f1270a43720ab1454bebfb3d0a9e3555554a7ab9..963f2a09444100d37e49cccbd6634879bd6742b5:/tests/ctm-identity.lisp?ds=inline diff --git a/tests/ctm-identity.lisp b/tests/ctm-identity.lisp index 962cdc9..04b61ba 100644 --- a/tests/ctm-identity.lisp +++ b/tests/ctm-identity.lisp @@ -180,7 +180,10 @@ (let ((condition (rejection (format nil "a.~% ex:fake.")))) (check "undefined-prefix-condition-class" (typep condition 'undefined-prefix)) (check "error-line-column" (and (= 2 (error-line condition)) (= 3 (error-column condition))))) - (dolist (text '("a isa person." "def tpl() a. end" "%include " + (check "identity-feature-boundary:a isa person." + (let ((map (read-text "a isa person."))) + (= 1 (length (topic-maps.tmdm:topic-map-associations map))))) + (dolist (text '("def tpl() a. end" "%include " "? - \"anonymous\" ~r." "a - \"\"\"triple\"\"\".")) (check (concatenate 'string "identity-feature-boundary:" text) (if (find #\~ text) (typep (read-text text) 'topic-maps.tmdm:topic-map) (unsupported-p text)))) (check "scope-on-bare-topic-rejected"