mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
test-tidy: Check for space between function name and (
Disallow an extraneous space in a function call between the function name and the opening parenthesis in Rust code, while ignoring macro declarations. This commit fixes #13980.
This commit is contained in:
parent
84055461aa
commit
179e11ad8d
3 changed files with 11 additions and 1 deletions
|
@ -124,6 +124,7 @@ class CheckTidiness(unittest.TestCase):
|
|||
self.assertEqual('extra space after (', errors.next()[2])
|
||||
self.assertEqual('extra space after (', errors.next()[2])
|
||||
self.assertEqual('extra space after (', errors.next()[2])
|
||||
self.assertEqual('extra space after test_fun', errors.next()[2])
|
||||
self.assertNoMoreErrors(errors)
|
||||
|
||||
def test_spec_link(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue