2007/5/31, Sam Ruby:
> I believe I found an error in test_serialize that causes four tests to
> be marked as passing when the serialized result obtained is not in the
> list of expected results.

No, actually, that was supposed to be a feature ;-)

Considering that serializing without omitting option tags has no bug
(which should be proved by other tests in core.test for example), this
allows us to only include the expected possible results *with optional
tags omitted* in the test's "expected" list.

There's a previous version of optionaltags.test in the repository with
"expected result without omitted tags" as the last item of the tests'
"expected" list.
I changed to not including it within the tests to make it easier to
check whether we omit each and every optional tag.

...but this works only if serialization with
"omit_optional_tags"=false has no bug in the first place ;-)

-- 
Thomas Broyer

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"html5lib-discuss" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/html5lib-discuss?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to