Applies normalize_for_explain to every line
(v: Vec<Vec<String>>)
| 284 | |
| 285 | /// Applies normalize_for_explain to every line |
| 286 | fn normalize_vec_for_explain(v: Vec<Vec<String>>) -> Vec<Vec<String>> { |
| 287 | let normalizer = ExplainNormalizer::new(); |
| 288 | v.into_iter() |
| 289 | .map(|l| { |
| 290 | l.into_iter() |
| 291 | .map(|s| normalizer.normalize(s)) |
| 292 | .collect::<Vec<_>>() |
| 293 | }) |
| 294 | .collect::<Vec<_>>() |
| 295 | } |
| 296 | |
| 297 | #[tokio::test] |
| 298 | async fn nyc() -> Result<()> { |
no test coverage detected
searching dependent graphs…