Hi all, I wrote this simple test case, but the result is always 'yellow' even if assertions are right (.st code attached).
MyHtmlParserWarningTestCase>>testParserWarning1
| warning |
warning := MyHtmlParserWarning new.
self assert: (warning category isNil).
self assert: (warning reason isEmpty).
warning signal: #malformed reason: 'no close tag'.
self assert: (warning category = #malformed).
self assert: (warning reason = 'no close tag').
I think it is a bug on SUnit, so I put the issue 13242 on fogbugz.
https://pharo.fogbugz.com/f/cases/13242/
I confirmed it is reproduced in Pharo 3.0.image and the latest image
(Pharo-40000.image).
Best regards,
--
[:masashi | ^umezawa]
MyHtmlParserTest.st
Description: Binary data
