We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2d009 commit 485e162Copy full SHA for 485e162
test/create.jl
@@ -16,7 +16,7 @@ xs3 = new_child(xroot, "State")
16
add_text(xs3, "California")
17
set_attributes(xs3; tag="CA", cap="Sacramento")
18
19
-rtxt = """
+rtxt1 = """
20
<?xml version="1.0" encoding="utf-8"?>
21
<States>
22
<State tag="MA">Massachusetts</State>
@@ -25,6 +25,15 @@ rtxt = """
25
</States>
26
"""
27
28
-@assert strip(string(xdoc)) == strip(rtxt)
+rtxt2 = """
29
+<?xml version="1.0" encoding="utf-8"?>
30
+<States>
31
+ <State tag="MA">Massachusetts</State>
32
+ <State cap="Springfield" tag="IL">Illinois</State>
33
+ <State tag="CA" cap="Sacramento">California</State>
34
+</States>
35
+"""
36
+
37
+@assert (strip(string(xdoc)) == strip(rtxt1)) || (strip(string(xdoc)) == strip(rtxt2))
38
39
free(xdoc)
0 commit comments