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

Function test_parse_defines_empty_file

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

Source from the content-addressed store, hash-verified

1691
1692#[tokio::test]
1693async fn test_parse_defines_empty_file() {
1694 let backend = create_test_backend();
1695 let defines = backend.parse_defines("<?php\n");
1696 assert!(defines.is_empty());
1697}
1698
1699#[tokio::test]
1700async fn test_parse_defines_no_defines() {

Callers

nothing calls this directly

Calls 2

create_test_backendFunction · 0.85
parse_definesMethod · 0.80

Tested by

no test coverage detected