107 |
107 |
108 |
108 |
109 |
109 |
110 yes(s01, s02); |
110 yes(s01, s02); |
111 end); |
111 end); |
|
112 |
|
113 it("should match unordered children at the top level", function () |
|
114 yes("<foo><one/><two/></foo>", "<foo><two/><one/></foo>"); |
|
115 end); |
|
116 |
|
117 it("should not match unordered children", function () |
|
118 no("<foo><one><a/><b/></one></foo>", "<foo><one><b/><a/></one></foo>"); |
|
119 end); |
|
120 |
|
121 it("should be possible to disable ordered matching", function () |
|
122 yes("<foo><one scansion:strict='no'><a/><b/></one></foo>", "<foo><one><b/><a/></one></foo>"); |
|
123 end); |
112 end); |
124 end); |