While updating the Ruby tokeniser to match a spec update, I also made
the following change, which causes a few other unrelated test failures
(which I haven't tried correcting since I'm not at all familiar with
the code):
--- ruby/test/test_tokenizer.rb (revision 1100)
+++ ruby/test/test_tokenizer.rb (working copy)
@@ -8,7 +8,7 @@
def assert_tokens_match(expectedTokens, receivedTokens,
ignoreErrorOrder, message)
if !ignoreErrorOrder
- return expectedTokens == receivedTokens
+ assert_equal expectedTokens, receivedTokens, message
else
#Sort the tokens into two groups; non-parse errors and parse errors
expected = [[],[]]
--
Philip Taylor
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---