diff --git a/golden-files/input/root.php b/golden-files/input/root.php new file mode 100644 index 0000000..8f8be56 --- /dev/null +++ b/golden-files/input/root.php @@ -0,0 +1,6 @@ + diff --git a/golden-files/results/bcpp-root_php b/golden-files/results/bcpp-root_php new file mode 100644 index 0000000..63bb3f8 --- /dev/null +++ b/golden-files/results/bcpp-root_php @@ -0,0 +1,7 @@ + +  \ No newline at end of file diff --git a/tools_test.py b/tools_test.py index 8c414b0..32f0907 100755 --- a/tools_test.py +++ b/tools_test.py @@ -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()