X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/963f2a09444100d37e49cccbd6634879bd6742b5..5e716c078b885e97ebe858230ce7d8578e65ae4b:/tests/ctm-identity.lisp diff --git a/tests/ctm-identity.lisp b/tests/ctm-identity.lisp index 04b61ba..c202a06 100644 --- a/tests/ctm-identity.lisp +++ b/tests/ctm-identity.lisp @@ -185,7 +185,10 @@ (= 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 (concatenate 'string "identity-feature-boundary:" text) + (cond ((search "def " text) (null (topic-map-topics (read-text text)))) + ((find #\~ text) (typep (read-text text) 'topic-maps.tmdm:topic-map)) + (t (unsupported-p text))))) (check "scope-on-bare-topic-rejected" (eq :unexpected-token (error-code (rejection "a @theme.")))) (check "scoped-name-now-deserialized"