MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / test_parse_defines_no_defines

Function test_parse_defines_no_defines

tests/integration/parser.rs:1700–1704  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1698
1699#[tokio::test]
1700async fn test_parse_defines_no_defines() {
1701 let backend = create_test_backend();
1702 let defines = backend.parse_defines("<?php\necho 'hello';\nfunction foo() {}\n");
1703 assert!(defines.is_empty());
1704}
1705
1706#[tokio::test]
1707async fn test_parse_defines_inside_if_guard() {

Callers

nothing calls this directly

Calls 2

create_test_backendFunction · 0.85
parse_definesMethod · 0.80

Tested by

no test coverage detected