120 end); |
120 end); |
121 |
121 |
122 it("should be possible to disable ordered matching", function () |
122 it("should be possible to disable ordered matching", function () |
123 yes("<foo><one scansion:strict='no'><a/><b/></one></foo>", "<foo><one><b/><a/></one></foo>"); |
123 yes("<foo><one scansion:strict='no'><a/><b/></one></foo>", "<foo><one><b/><a/></one></foo>"); |
124 end); |
124 end); |
|
125 |
|
126 it("should match when there are many children", function () |
|
127 yes([[<s> |
|
128 <x> |
|
129 <a/> |
|
130 <b/> |
|
131 <c/> |
|
132 </x> |
|
133 </s>]] |
|
134 , [[<s> |
|
135 <x> |
|
136 <a/> |
|
137 <b/> |
|
138 <c/> |
|
139 </x> |
|
140 </s>]]); |
|
141 end); |
125 end); |
142 end); |