()
| 137 | |
| 138 | #[test] |
| 139 | fn pgwire_param_extraction_roundtrips() { |
| 140 | let tid = TraceId::generate(); |
| 141 | let mut params = std::collections::HashMap::new(); |
| 142 | params.insert("trace_id".into(), tid.to_string()); |
| 143 | let extracted = extract_from_pgwire_params(¶ms); |
| 144 | assert_eq!(extracted, tid); |
| 145 | } |
| 146 | |
| 147 | #[test] |
| 148 | fn pgwire_param_generates_when_missing() { |
nothing calls this directly
no test coverage detected