()
| 466 | |
| 467 | #[test] |
| 468 | fn parse_empty_result() { |
| 469 | let json = r#"{"totals":{"errors":0,"warnings":0,"fixable":0},"files":{}}"#; |
| 470 | let path = Path::new("/project/src/Foo.php"); |
| 471 | let diags = parse_phpcs_json(json, path).unwrap(); |
| 472 | assert!(diags.is_empty()); |
| 473 | } |
| 474 | |
| 475 | #[test] |
| 476 | fn parse_file_messages() { |
nothing calls this directly
no test coverage detected