Skip to content

Commit 8e0fb43

Browse files
committed
Fix test by changing order of generated namespaces (#505)
1 parent 59f6e5d commit 8e0fb43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metafacture-xml/src/test/java/org/metafacture/xml/SimpleXmlEncoderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public void shouldAddMultipleNamespacesFromParameterToRootElement() {
118118

119119
emitEmptyRecord();
120120

121-
assertEquals("<?xml version=\"1.0\" encoding=\"UTF-8\"?><records xmlns=\"http://default.org/ns\" xmlns:ns=\"http://example.org/ns\" xmlns:ns1=\"http://example.org/ns1\"><record /></records>",
121+
assertEquals("<?xml version=\"1.0\" encoding=\"UTF-8\"?><records xmlns:ns=\"http://example.org/ns\" xmlns=\"http://default.org/ns\" xmlns:ns1=\"http://example.org/ns1\"><record /></records>",
122122
getResultXml());
123123
}
124124
@Test

0 commit comments

Comments
 (0)