Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing the whitespace nodes #57

Open
GoogleCodeExporter opened this issue Apr 20, 2015 · 1 comment
Open

Testing the whitespace nodes #57

GoogleCodeExporter opened this issue Apr 20, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 1 Apr 2013 at 3:40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant