diff --git a/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj b/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj index fe75c34..4115819 100644 --- a/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj +++ b/src/test/clj/org/domaindrivenarchitecture/activity_pub_poc/parser_test.clj @@ -4,17 +4,19 @@ (def processed (slurp "src/test/resources/deleted_comments_minimal.ttl")) -(def expected-definitions ["@prefix : " - "@prefix as: " - "@prefix owl: " - "@prefix rdf: " - "@prefix xml: " - "@prefix xsd: " - "@prefix rdfs: " - "@base " - " a owl:Ontology ; rdfs:comment \"Extended Activity Streams 2.0 Vocabulary\"@en ; rdfs:label \"Activity Streams 2.0\"@en ; owl:imports " - "rdf:langString a rdfs:Datatype" - "xsd:duration a rdfs:Datatype"]) +(def expected-definitions ["@prefix : " + "@prefix as: " + "@prefix owl: " + "@prefix rdf: " + "@prefix xml: " + "@prefix xsd: " + "@prefix rdfs: " + "@base " + " a owl:Ontology ;\n rdfs:comment \"Extended Activity Streams 2.0 Vocabulary\"@en ;\n rdfs:label \"Activity Streams 2.0\"@en ;\n owl:imports " + "rdf:langString a rdfs:Datatype " + "xsd:duration a rdfs:Datatype " + "as:actor a owl:ObjectProperty ;\n rdfs:label \"actor\"@en ;\n rdfs:domain as:Activity ;\n rdfs:comment \"Subproperty of as:attributedTo that identifies the primary actor\"@en ;\n rdfs:subPropertyOf as:attributedTo ;\n rdfs:range [\n a owl:Class ;\n owl:unionOf (as:Object as:Link)\n ] " + "as:attributedTo a owl:ObjectProperty ;\n rdfs:label \"attributedTo\"@en;\n rdfs:comment \"Identifies an entity to which an object is attributed\"@en;\n rdfs:range [\n a owl:Class ;\n owl:unionOf (as:Object as:Link)\n ] ;\n rdfs:domain [\n a owl:Class ;\n owl:unionOf (as:Object as:Link)\n ] ; "]) (deftest remove-comments-test (is