()
| 114 | |
| 115 | #[test] |
| 116 | fn test_parse_no_psr4_section() { |
| 117 | let ws = TestWorkspace::new( |
| 118 | r#"{ |
| 119 | "name": "vendor/project", |
| 120 | "autoload": { |
| 121 | "classmap": ["src/"] |
| 122 | } |
| 123 | }"#, |
| 124 | ); |
| 125 | |
| 126 | let (mappings, _vendor_dir) = parse_composer_json(ws.root()); |
| 127 | assert!(mappings.is_empty()); |
| 128 | } |
| 129 | |
| 130 | #[test] |
| 131 | fn test_resolve_simple_class() { |
nothing calls this directly
no test coverage detected