Fixed the PHP test.
This commit is contained in:
parent
1f071dc69a
commit
e7067211e7
3 changed files with 2 additions and 8 deletions
|
|
@ -1,7 +0,0 @@
|
||||||
[0m[38;2;205;40;40m[48;2;0;0;0m[1m<?php[0m[38;2;255;255;255m[48;2;0;0;0m
|
|
||||||
[0m[38;2;208;208;208m[48;2;0;0;0m [0m[38;2;153;153;153m[48;2;0;0;0m[3m////////////////////////////////////[0m[38;2;255;255;255m[48;2;0;0;0m
|
|
||||||
[0m[38;2;208;208;208m[48;2;0;0;0m [0m[38;2;153;153;153m[48;2;0;0;0m[3m// I am not Isabelle ROOT //[0m[38;2;255;255;255m[48;2;0;0;0m
|
|
||||||
[0m[38;2;208;208;208m[48;2;0;0;0m [0m[38;2;153;153;153m[48;2;0;0;0m[3m////////////////////////////////////[0m[38;2;255;255;255m[48;2;0;0;0m
|
|
||||||
|
|
||||||
[0m[38;2;205;40;40m[48;2;0;0;0m[1m?>[0m[38;2;255;255;255m[48;2;0;0;0m
|
|
||||||
[0m
|
|
||||||
1
golden-files/results/php5_syntax-root_php
Normal file
1
golden-files/results/php5_syntax-root_php
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
No syntax errors detected in ./input/root.php
|
||||||
|
|
@ -178,7 +178,7 @@ class ToolsTestCase(unittest.TestCase):
|
||||||
self._test_tool(tools.bcpp, [("hello.cpp", tools.Status.normal)])
|
self._test_tool(tools.bcpp, [("hello.cpp", tools.Status.normal)])
|
||||||
|
|
||||||
def test_php5_syntax(self):
|
def test_php5_syntax(self):
|
||||||
self._test_tool(tools.bcpp, [("root.php", tools.Status.normal)])
|
self._test_tool(tools.php5_syntax, [("root.php", tools.Status.ok)])
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue