X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/35648c4dcc71e8dc6448b64abcacb438e53d64a2..6a2f8446afca0915882f0d4a06cb891ccfcdc96d:/tests/ctm-identity.lisp diff --git a/tests/ctm-identity.lisp b/tests/ctm-identity.lisp index 3b0ef34..2c6d6e4 100644 --- a/tests/ctm-identity.lisp +++ b/tests/ctm-identity.lisp @@ -180,7 +180,7 @@ (let ((condition (rejection (format nil "a.~% ex:fake.")))) (check "undefined-prefix-condition-class" (typep condition 'undefined-prefix)) (check "error-line-column" (and (= 2 (error-line condition)) (= 3 (error-column condition))))) - (dolist (text '("a isa person." "def tpl() a. end" "%prefix ex https://example.invalid/ ex:a." + (dolist (text '("a isa person." "def tpl() a. end" "%include " "? - \"anonymous\"." "a @theme." "a - \"name\" @theme." "a - \"\"\"triple\"\"\".")) (check (concatenate 'string "unsupported-not-silently-accepted:" text) (unsupported-p text))) (check "association-now-deserialized" @@ -256,7 +256,9 @@ (equal (topic-subject-identifiers (first-topic (read-text (format nil "<~A>." (first pair)) "http://a/b/c/d;p?q"))) (list (second pair))))) - (check "canonicalizer-not-defined" (null (asdf:find-system "topic-maps/cxtm" nil))) + (check "reader-does-not-depend-on-canonicalizer" + (equal (asdf:system-depends-on (asdf:find-system "topic-maps/ctm")) + '("topic-maps/tmdm"))) (setf *last-checks* (nreverse *checks*)) (format t "~&CTM-IDENTITY-SEMANTICS-PASS: ~D checks, 5 imported semantic cases, required prefix rejection; no CXTM equality passes.~%" (length *last-checks*))