MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / test_bad_php_parse_a

Function test_bad_php_parse_a

tests/test_interface.py:155–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153
154
155def test_bad_php_parse_a():
156 with pytest.raises(AssertionError) as ex:
157 code2flow("test_code/php/bad_php/bad_php_a.php", "/tmp/code2flow/out.json")
158 assert "parse" in ex and "syntax" in ex
159
160
161def test_bad_php_parse_b():

Callers

nothing calls this directly

Calls 1

code2flowFunction · 0.90

Tested by

no test coverage detected