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

Function test_shutdown

tests/integration/server_lifecycle.rs:97–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95
96#[tokio::test]
97async fn test_shutdown() {
98 let backend = create_test_backend();
99 let result = backend.shutdown().await;
100 assert!(result.is_ok());
101}
102
103#[tokio::test]
104async fn test_did_change_updates_content() {

Callers

nothing calls this directly

Calls 2

create_test_backendFunction · 0.85
shutdownMethod · 0.45

Tested by

no test coverage detected