You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to test the text nodes taking into account the difference in the
quantity of spaces.
Here's a sample scenario:
<scenario label="test">
<call template="identity">
<param name="content">
<w:t>
<space> </space>
</w:t>
</param>
</call>
<expect>
<w:t>
<space> </space>
</w:t>
</expect>
</scenario>
And the referenced template:
<xsl:template name="identity">
<xsl:param name="content"/>
<xsl:sequence select="$content"/>
</xsl:template>
I expect this test to fail but it's passed.
Original issue reported on code.google.com by mzhal...@gmail.com on 1 Apr 2013 at 3:40
The text was updated successfully, but these errors were encountered:
Hi,
Sorry for the late response... Actually, this is on purpose. We want the above test to succeed exactly for the same reason that we want the following test to succeed:
{{{
<scenario label="test">
<call template="identity">
<param name="content">
<w:t>
<text>Hello, world!</text>
</w:t>
</param>
</call>
<expect>
<w:t>
<text>Hello, world!</text>
</w:t>
</expect>
</scenario>
}}}
But I found what I think is a bug, because I would say I'd like the following to fail:
{{{
<scenario label="test">
<call template="identity">
<param name="content">
<w:t>
<space xml:space="preserve"> </space>
</w:t>
</param>
</call>
<expect>
<w:t>
<space xml:space="preserve"> </space>
</w:t>
</expect>
</scenario>
}}}
Original comment by fgeorges on 15 Jul 2013 at 5:25
* remove output and set up and clean test environment expath#57expath#64
- remove directories containing output of XSpec unit tests
- add directories and files to .gitignore
- set up and clean the bats testing environment
Original issue reported on code.google.com by
mzhal...@gmail.com
on 1 Apr 2013 at 3:40The text was updated successfully, but these errors were encountered: