]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/ctm-associations.lisp
examples: explore project work through native Topic Maps (slice 22U)
[topic-maps.git] / tests / ctm-associations.lisp
index 896252d90df6425d35a79d64a109d401205347a4..ac8d59762579556078618180c087ed9d34a661a8 100644 (file)
            (eq :role-separator-whitespace (error-code (rejection "a(<urn:r>:<urn:p>)"))))
     (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)))))