(body: &str)
| 241 | } |
| 242 | |
| 243 | fn parse_single_file_body(body: &str) -> Result<(Vec<FixtureFile>, usize, u32, u32), String> { |
| 244 | let (content, line, char) = strip_cursor(body)?; |
| 245 | Ok(( |
| 246 | vec![FixtureFile { |
| 247 | path: "test.php".to_string(), |
| 248 | content, |
| 249 | }], |
| 250 | 0, |
| 251 | line, |
| 252 | char, |
| 253 | )) |
| 254 | } |
| 255 | |
| 256 | fn parse_multi_file_body(body: &str) -> Result<(Vec<FixtureFile>, usize, u32, u32), String> { |
| 257 | let mut files = Vec::new(); |
no test coverage detected