X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/49e4f2efb3df426d8ce249bc9b714bbd81323525..refs/heads/codex/project-work-slice-22u:/tests/xtm-names.lisp?ds=inline
diff --git a/tests/xtm-names.lisp b/tests/xtm-names.lisp
index b822679..b45220a 100644
--- a/tests/xtm-names.lisp
+++ b/tests/xtm-names.lisp
@@ -136,7 +136,7 @@
map))
(defun name-error-control (label body class code)
- (let* ((source (document body)) (key (concatenate 'string "name-syntax:" label))
+ (let* ((source (ss-unsupported-source (document body) code label)) (key (concatenate 'string "name-syntax:" label))
(c (condition-from (lambda () (deserialize-octets (bytes source) :document-iri *document* :source-key key)))))
(check (concatenate 'string key ":class-code") (and (eq class (type-of c)) (eq code (error-code c))))
(check (concatenate 'string key ":context-position")
@@ -280,8 +280,8 @@
("ii-after-value" "N" :element-order)
("variant-before-value" "VN" :element-order)))
(name-error-control (first spec) (format nil "~A" (second spec)) 'xtm-rejection (third spec)))
- (dolist (spec '(("variant-resourceData-datatype" "N42" :resource-data-datatype)
- ("reifier" "N" :reification)))
+ (dolist (spec '(("variant-resourceData-datatype" "N42" :resource-resolver-required)
+ ("variant-reifier-excluded-datatype" "N42" :resource-resolver-required)))
(name-error-control (concatenate 'string "unsupported-" (first spec))
(format nil "~A" (second spec)) 'xtm-unsupported (third spec)))
(let* ((body (format nil "~%~% ~%"))