tests/insn/analyze-string/_analyze-string-test-set.xml
changeset 1894 5aca602b9d58
parent 1850 2d943e2bde09
child 1926 59acff18e7c5
equal deleted inserted replaced
1893:6378e52dfdf2 1894:5aca602b9d58
  1003             <assert>deep-equal(data(//row/cell[3]), ('de', 'ss', 'ff', 'hl', 'mm', 'oo'))</assert>
  1003             <assert>deep-equal(data(//row/cell[3]), ('de', 'ss', 'ff', 'hl', 'mm', 'oo'))</assert>
  1004          </all-of>
  1004          </all-of>
  1005       </result>
  1005       </result>
  1006    </test-case>
  1006    </test-case>
  1007    
  1007    
       
  1008    <test-case name="analyze-string-099">
       
  1009       <description>A test for non-greedy matching</description>
       
  1010       <created by="Michael Kay after Vladimir Nestorovsky" on="2018-09-12"/>
       
  1011       <dependencies>
       
  1012          <spec value="XSLT30+"/>
       
  1013       </dependencies>
       
  1014       <test>
       
  1015          <stylesheet file="analyze-string-099.xsl"/>
       
  1016       </test>
       
  1017       <result>
       
  1018          <all-of>
       
  1019             <assert>count(/out/match) = 2</assert>
       
  1020             <assert>/out/match[1] = '"a"'</assert>
       
  1021             <assert>/out/match[2] = '"b"'</assert> 
       
  1022          </all-of>
       
  1023       </result>
       
  1024    </test-case>
       
  1025    
  1008 </test-set>
  1026 </test-set>