Commit d3932341 authored by Danijel Dragicevic's avatar Danijel Dragicevic

Update compare-xml.md

parent d4171be6
Pipeline #72374 passed with stages
in 1 minute and 53 seconds
......@@ -8,7 +8,7 @@ and the escaping of `<` and `>` makes it completely unreadable when you switch t
Fortunately, xmlunit is quite flexible when it comes to input sources: It can consume Strings (as in the examples), byte arrays, InputStreams,
Files and some more sources. See [xmlunit documentation](https://github.com/xmlunit/user-guide/wiki/Providing-Input-to-XMLUnit) for details.
If you have bigger XML documents, place them in `src/test/resources` and load them with `getResource(...)`, e.g. like this:
If you have bigger XML documents, place them in `src/test/resources` and load them with `getResourceAsString(...)`, e.g. like this:
```txt
"#[MunitTools::getResourceAsString('xml/simple-expected.xml')]"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment