Now the perl_syntax tool detects if perl files (.pl) are perl5 or perl6.
This commit is contained in:
parent
d2fea070c4
commit
cc95534bd7
5 changed files with 255 additions and 4 deletions
|
|
@ -111,7 +111,8 @@ class ToolsTestCase(unittest.TestCase):
|
|||
[("hi3.cpython-34.pyc", tools.Status.normal)])
|
||||
|
||||
def test_perl_syntax(self):
|
||||
self._test_tool(tools.perl_syntax, [("perl.pl", tools.Status.ok)])
|
||||
self._test_tool(tools.perl_syntax, [("perl.pl", tools.Status.ok),
|
||||
("perl6.pl", tools.Status.problem)])
|
||||
|
||||
def test_perldoc(self):
|
||||
self._test_tool(tools.perldoc,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue