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

Function make_backend

src/test_fixtures.rs:21–23  ·  view source on GitHub ↗

Create a minimal [`Backend`] for unit tests. This is the in-crate equivalent of `create_test_backend()` in the integration test helpers (`tests/common/mod.rs`).

()

Source from the content-addressed store, hash-verified

19/// This is the in-crate equivalent of `create_test_backend()` in the
20/// integration test helpers (`tests/common/mod.rs`).
21pub fn make_backend() -> Backend {
22 Backend::new_test()
23}
24
25// Note: `Visibility` is still needed by `make_class` and `make_constant`.
26

Callers 1

selection_rangesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected