fn serialize_response_with_null_result()

in crates/lsp-client/src/msg.rs [431:440]


    fn serialize_response_with_null_result() {
        let text = "{\"id\":1,\"result\":null}";
        let msg = Message::Response(Response {
            id: RequestId::from(1),
            content: ResponseContent::Result(serde_json::Value::Null),
        });
        let serialized = serde_json::to_string(&msg).unwrap();

        assert_eq!(text, serialized);
    }