Added a test for PHP.

This commit is contained in:
Andrew Hamilton 2016-02-09 21:48:09 +00:00
parent db660521fa
commit 7829bad0ec
3 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,6 @@
<?php
////////////////////////////////////
// I am not Isabelle ROOT //
////////////////////////////////////
?>

View file

@ -0,0 +1,7 @@
<?php
 ////////////////////////////////////
 // I am not Isabelle ROOT //
 ////////////////////////////////////
?>


View file

@ -146,6 +146,10 @@ class ToolsTestCase(unittest.TestCase):
self._sub_tests([
(tools.bcpp, "hello.cpp", tools.Status.normal)])
def test_php5_syntax(self):
self._sub_tests([
(tools.bcpp, "root.php", tools.Status.normal)])
if __name__ == "__main__":
golden.main()