]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/ctm-references.lisp
Implement same-map reification with atomic merge preflight
[topic-maps.git] / tests / ctm-references.lisp
index 4ba35ad8f24ba0b2d6e0ebd972e158b71cee491c..4e5b4d773efae2780b8f7bf52806136413cce963 100644 (file)
   (dolist (text '("a - [-\"N\" ~r]:\"X\"." "a - \"N\"@[-\"T\"] ~r."
                   "def tpl() a. end" "%include <file.ctm>" "%mergemap <file.ctm> <urn:ctm>"
                   "a isa b." "a ako b." "a(r: b, s: c, t: d)"))
   (dolist (text '("a - [-\"N\" ~r]:\"X\"." "a - \"N\"@[-\"T\"] ~r."
                   "def tpl() a. end" "%include <file.ctm>" "%mergemap <file.ctm> <urn:ctm>"
                   "a isa b." "a ako b." "a(r: b, s: c, t: d)"))
-    (check (concatenate 'string "references:excluded-remains-unsupported:" text)
-           (typep (ctm-condition text) 'topic-maps.ctm:ctm-unsupported)))
+    (check (concatenate 'string "references:feature-boundary:" text)
+           (if (find #\~ text) (null (ctm-condition text)) (typep (ctm-condition text) 'topic-maps.ctm:ctm-unsupported))))
   (check "references:template-dependent-negative-not-promoted"
          (eq :not-run (topic-maps.test-foundation:test-case-status
              (first (topic-maps.test-foundation:select-cases topic-maps.ctm.tests::*cxtm-corpus*
   (check "references:template-dependent-negative-not-promoted"
          (eq :not-run (topic-maps.test-foundation:test-case-status
              (first (topic-maps.test-foundation:select-cases topic-maps.ctm.tests::*cxtm-corpus*