X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/aeb017e4f4846f2e6a701e581d20eef84a8b83d9..refs/heads/codex/xtm-slice-22r:/tests/ctm-associations.lisp?ds=inline diff --git a/tests/ctm-associations.lisp b/tests/ctm-associations.lisp index 11ea45f..ac8d597 100644 --- a/tests/ctm-associations.lisp +++ b/tests/ctm-associations.lisp @@ -166,7 +166,7 @@ (eq :role-separator-whitespace (error-code (rejection "a(:)")))) (let ((condition (rejection (format nil "a(r p)")))) (check "role-syntax-diagnostic-position" - (and (eq :expected-role-type-separator (error-code condition)) (= 4 (error-position condition)) + (and (eq :missing-template-close (error-code condition)) (= 4 (error-position condition)) (= 1 (error-line condition)) (= 5 (error-column condition))))) (let ((condition (rejection "a(r: ex:p)"))) (check "association-undefined-prefix-remains-specific" (and (typep condition 'undefined-prefix) (eq :undefined-prefix (error-code condition))))) @@ -174,7 +174,8 @@ (= 1 (length (topic-maps.tmdm:association-scope (first (topic-maps.tmdm:topic-map-associations (read-text "a(r: p) @theme"))))))) (dolist (text '("a(r: p) ~reifier" "a(r: p, s: q, t: z)")) - (check (concatenate 'string "unsupported-association-feature:" text) (unsupported-p text))) + (check (concatenate 'string "association-feature-boundary:" text) + (association-invariants (read-text text)))) (check "comment-can-separate-role-colon" (association-invariants (read-text "a(r#( separator )#:p)"))) (check "delimited-iri-role-references"