A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mail-archive.com/html5lib-discuss@googlegroups.com/msg00164.html below:

Ruby tokeniser test failures

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 html5lib-discuss@googlegroups.com
 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
-~----------~----~----~----~------~----~------~--~---


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4