]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/ctm-references.lisp
Implement CTM Mergemap with explicit byte resources and isolated environments
[topic-maps.git] / tests / ctm-references.lisp
index 145b297a54fd66771413c19ab4c4f9e4335ff752..9732c684a3936bf05468588e207fa9aa158bfc52 100644 (file)
     (check (concatenate 'string "references:feature-boundary:" text)
            (cond ((search "def " text) (null (topic-map-topics (read-text text))))
                  ((find #\~ text) (null (ctm-condition text)))
+                 ((search "%mergemap" text)
+                  (let ((c (ctm-condition text)))
+                    (and (typep c 'topic-maps.ctm:ctm-rejection)
+                         (eq :unknown-mergemap-notation (topic-maps.ctm:error-code c)))))
                  (t (typep (ctm-condition text) 'topic-maps.ctm:ctm-unsupported)))))
   (check "references:feature-boundary:a(r: b, s: c, t: d)"
          (references-current-p (read-text "a(r: b, s: c, t: d)")))