X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/f1270a43720ab1454bebfb3d0a9e3555554a7ab9..1691c8e0712e30666de2e667a5050eccb0086f71:/tests/ctm-scopes.lisp diff --git a/tests/ctm-scopes.lisp b/tests/ctm-scopes.lisp index ad3bf42..74531d9 100644 --- a/tests/ctm-scopes.lisp +++ b/tests/ctm-scopes.lisp @@ -328,7 +328,7 @@ (= 2 (error-line e)) (= 2 (error-column e))))) (dolist (text '("a - \"N\"@[-\"embedded\" ~r]." "a - \"N\"@? ~r." "a - \"N\"@t ~reifier." "a - \"N\"@t (\"variant\"@s ~r)." "def tpl() a - \"N\"@t. end")) - (check (concatenate 'string "scope-reader:feature-boundary:" text) (if (find #\~ text) (null (ctm-condition text)) (typep (ctm-condition text) 'ctm-unsupported))))) + (check (concatenate 'string "scope-reader:feature-boundary:" text) (cond ((search "def " text) (null (topic-map-topics (read-text text)))) ((find #\~ text) (null (ctm-condition text))) (t (typep (ctm-condition text) 'ctm-unsupported)))))) (defun scope-order-tests () (let ((reference nil)