]> 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 6530418224203848f4d75981c79e4d373335bcb0..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)))))
-  (dolist (text '("a - \"N\"@[-\"embedded\"]." "a - \"N\"@? ." "a - \"N\"@t ~reifier."
-                  "a - \"N\"@t (\"variant\"@s)." "def tpl() a - \"N\"@t. end"))
+  (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))))
 
 (defun scope-order-tests ()