X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/f1270a43720ab1454bebfb3d0a9e3555554a7ab9..963f2a09444100d37e49cccbd6634879bd6742b5:/tests/ctm-references.lisp diff --git a/tests/ctm-references.lisp b/tests/ctm-references.lisp index 4e5b4d7..3081484 100644 --- a/tests/ctm-references.lisp +++ b/tests/ctm-references.lisp @@ -267,10 +267,14 @@ (dolist (text '("a([-\"r\"] :p)" "a([-\"r\"]: p)" "a([-\"r\"]#(gap)#:[-\"p\"])")) (check (concatenate 'string "embedded:role-layout-preserved:" text) (references-current-p (read-text text)))) (dolist (text '("a - [-\"N\" ~r]:\"X\"." "a - \"N\"@[-\"T\"] ~r." - "def tpl() a. end" "%include " "%mergemap " - "a isa b." "a ako b." "a(r: b, s: c, t: d)")) + "def tpl() a. end" "%include " "%mergemap ")) (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:feature-boundary:a(r: b, s: c, t: d)" + (references-current-p (read-text "a(r: b, s: c, t: d)"))) + (dolist (text '("a isa b." "a ako b.")) + (check (concatenate 'string "references:feature-boundary:" text) + (references-current-p (read-text text)))) (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*