Bug 20233 - [QT3TS] K2-OrderbyExprWithout-42
Summary: [QT3TS] K2-OrderbyExprWithout-42
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-04 11:41 UTC by Tim Mills
Modified: 2013-01-04 09:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Mills 2012-12-04 11:41:14 UTC
I wonder if a better assertion could be used in this test?  Perhaps <assert-count>1</assert-count>?

   <test-case name="K2-OrderbyExprWithout-42">
      <description> Apply fn:string() on a for clause that only produces on item, and that cannot easily constant propagate. </description>
      <created by="Frans Englich" on="2007-11-26"/>
      <test>string(for $i in current-date() order by $i return $i)</test>
      <result>
         <assert>true()</assert>
      </result>
   </test-case>
Comment 1 O'Neil Delpratt 2013-01-02 14:56:00 UTC
I agree. Test assertion changed to <assert-count>1</assert-count>
Comment 2 Tim Mills 2013-01-04 09:14:45 UTC
Thanks.