File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
test/src/main/java/org/springframework/ws/test/support/matcher Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 2626import org .springframework .xml .transform .TransformerHelper ;
2727
2828import org .custommonkey .xmlunit .Diff ;
29+ import org .custommonkey .xmlunit .XMLUnit ;
2930import org .w3c .dom .Document ;
3031
3132import static org .springframework .ws .test .support .AssertionErrors .assertTrue ;
@@ -43,6 +44,10 @@ public class SoapEnvelopeDiffMatcher extends AbstractSoapMessageMatcher {
4344
4445 private final TransformerHelper transformerHelper = new TransformerHelper ();
4546
47+ static {
48+ XMLUnit .setIgnoreWhitespace (true );
49+ }
50+
4651 public SoapEnvelopeDiffMatcher (Source expected ) {
4752 Assert .notNull (expected , "'expected' must not be null" );
4853 this .expected = expected ;
You can’t perform that action at this time.
0 commit comments