Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 15 by
toby.wes...@gmail.com: HTML output fails to markup < and >
http://code.google.com/p/yatspec/issues/detail?id=15
Hey folks,
How do you expect things to work when I make assertions against XML
content... for example,
given(whatever());
when(iAddSomeXmlToTheCapturedInputAndOutputs());
then(saidCapturedInputAndOutputs(),
allOf(containsString("<name>bob</name>"), containsString("<address>1 poo
street"</address>")));
It works fine for the assertions but fails to mark up the chevrons in the
HTML output. Obviously, the assertions fail if I say
`containsString("<name...` but the HTML will output as expected.
Not sure how to mark up < and > as < and > without affecting the
expectations.
Not really and issue just thought I'd ask for a workaround / tips on my
approach.
Cheers