()
| 821 | |
| 822 | #[test] |
| 823 | fn severity_mapping_note() { |
| 824 | let content = "<?php\nfoo();\n"; |
| 825 | let file_path = "/tmp/test.php"; |
| 826 | let json = make_issue_json("Note", "note-code", "Note msg", "/tmp/test.php", 6, 11); |
| 827 | let diags = parse_mago_json(&json, content, file_path, "mago-lint").unwrap(); |
| 828 | assert_eq!(diags[0].severity, Some(DiagnosticSeverity::INFORMATION)); |
| 829 | } |
| 830 | |
| 831 | #[test] |
| 832 | fn severity_mapping_help() { |
nothing calls this directly
no test coverage detected