Skip to content

Instantly share code, notes, and snippets.

@boxxxie
Created January 28, 2013 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boxxxie/4652966 to your computer and use it in GitHub Desktop.
Save boxxxie/4652966 to your computer and use it in GitHub Desktop.
(let [imported-facet-categories-xml (->
test-doc-0-cxml-file
cxml/parse-stream
(xml->
:FacetCategories
:FacetCategory
))
requested-facet-categories-xml (->
parsed-cxml-after-cxml-update
(xml->
:FacetCategories
:FacetCategory
))]
(is (= imported-facet-categories-xml requested-facet-categories-xml)
"the facet categories of the requested cxml should look exactly the same as the imported cxml"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment