[Webkit-unassigned] [Bug 40723] Fix paren matching rules for switch/if/while in check-webkit-style script

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 17 21:47:20 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40723


Shinichiro Hamaji <hamaji at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #59011|review?                     |review+
               Flag|                            |




--- Comment #8 from Shinichiro Hamaji <hamaji at chromium.org>  2010-06-17 21:47:19 PST ---
(From update of attachment 59011)
> This actually will spit out the to messages (one for the space after '(' and one for the space before ')'. I didn't see any other tests that check for two errors, are there anyway?

I think assert_lint can take a list of errors as the second parameter. Like,

self.assert_lint('while (  foo  ) {',
                 ['the first error!',
                  'the second error!'])

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list