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

Function test_require_once_empty_file

tests/unit/composer.rs:641–645  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

639
640#[test]
641fn test_require_once_empty_file() {
642 let content = "<?php\n";
643 let paths = extract_require_once_paths(content);
644 assert!(paths.is_empty());
645}
646
647#[test]
648fn test_require_once_with_extra_whitespace() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected