File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414Add the following to your ` build.sbt ` :
1515
1616``` scala
17- libraryDependencies += " purpledragon. software.xml" %% " xml-compare" % " <version>"
17+ libraryDependencies += " software.purpledragon .xml" %% " xml-compare" % " <version>"
1818```
1919
2020You can then compare XML using:
@@ -32,7 +32,7 @@ val result = XmlCompare.compare(doc1, doc2)
3232A companion library is provided for testing XML in Scalatest:
3333
3434``` scala
35- libraryDependencies += " purpledragon. software.xml" %% " xml-scalatest" % " <version>" % Test
35+ libraryDependencies += " software.purpledragon .xml" %% " xml-scalatest" % " <version>" % Test
3636```
3737
3838This then enables the ` beXml ` matcher:
@@ -47,5 +47,5 @@ doc should beXml(<person><name>John Smith</name></person>)
4747Similarly a companion library for specs2 is provided:
4848
4949``` scala
50- libraryDependencies += " purpledragon. software.xml" %% " xml-specs2" % " <version>" % Test
51- ```
50+ libraryDependencies += " software.purpledragon .xml" %% " xml-specs2" % " <version>" % Test
51+ ```
You can’t perform that action at this time.
0 commit comments