]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/ctm-scopes.lisp
Implement general TMDM item identifiers and canonical output
[topic-maps.git] / tests / ctm-scopes.lisp
index 3c4c8703c484ded83e133230fbc12d3fe9aed20d..205dcfe22bd23ade9ae28c683a45c606b9be8411 100644 (file)
   (let ((e (ctm-condition (format nil "a - \"N\"@t,~% ."))))
     (check "scope-diagnostic:line-column-after-comma" (and (eq :expected-scope-theme (error-code e))
                                                           (= 2 (error-line e)) (= 2 (error-column e)))))
   (let ((e (ctm-condition (format nil "a - \"N\"@t,~% ."))))
     (check "scope-diagnostic:line-column-after-comma" (and (eq :expected-scope-theme (error-code e))
                                                           (= 2 (error-line e)) (= 2 (error-column e)))))
-  (dolist (text '("a - \"N\"@[-\"embedded\"]." "a - \"N\"@? ." "a - \"N\"@t ~reifier."
+  (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:excluded-remains-unsupported:" text) (typep (ctm-condition text) 'ctm-unsupported))))
 
                   "a - \"N\"@t (\"variant\"@s ~r)." "def tpl() a - \"N\"@t. end"))
     (check (concatenate 'string "scope-reader:excluded-remains-unsupported:" text) (typep (ctm-condition text) 'ctm-unsupported))))