[Bug 19782] test cases using 'assert-eq' for numeric values instead of 'assert'

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19782

--- Comment #4 from Sorin Nasoi <spungi@gmail.com> ---
<test-case name="fn-abs-1">
 <description>numeric types. Author: Oliver Hallam Date:
2010-03-15</description>
 <created by="Oliver Hallam" on="2010-03-15"/>
 <environment ref="empty"/>
 <test>string-join(for $x in (1, xs:decimal(2), xs:float(3), xs:double(4))
return 
           if ((abs($x)) instance of xs:integer) then "integer" 
           else if ((abs($x)) instance of xs:decimal) then "decimal" 
           else if ((abs($x)) instance of xs:float) then "float"
           else if ((abs($x)) instance of xs:double) then "double" else
error(), " ")</test>
 <result>
  <assert-eq>"integer decimal float double"</assert-eq>
 </result>
</test-case>

instead of:
<test-case name="fn-abs-1">
[...]
 <result>
  <assert>$result eq "integer decimal float double"</assert>
 </result>
</test-case>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 31 October 2012 00:09:53 UTC