()
| 2617 | |
| 2618 | #[tokio::test] |
| 2619 | async fn parser_rejects_missing_include_file() { |
| 2620 | let temp_dir = tempdir().expect("failed to create benchmark test directory"); |
| 2621 | let missing_path = temp_dir.path().join("missing_include.benchmark"); |
| 2622 | let benchmark_path = write_test_file( |
| 2623 | &temp_dir, |
| 2624 | "missing_include_driver.benchmark", |
| 2625 | &format!("include {}\n", missing_path.display()), |
| 2626 | ); |
| 2627 | |
| 2628 | let result = parse_benchmark_file(&benchmark_path).await; |
| 2629 | |
| 2630 | assert_result_error_contains(result, "No such file"); |
| 2631 | } |
| 2632 | |
| 2633 | #[tokio::test] |
| 2634 | async fn parser_rejects_missing_template_file() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…