(contents: &str)
| 1573 | } |
| 1574 | |
| 1575 | async fn parse_benchmark(contents: &str) -> Result<SqlBenchmark> { |
| 1576 | let temp_dir = tempdir().expect("failed to create benchmark test directory"); |
| 1577 | let path = write_test_file(&temp_dir, "parser.benchmark", contents); |
| 1578 | |
| 1579 | parse_benchmark_file(&path).await |
| 1580 | } |
| 1581 | |
| 1582 | async fn assert_parse_error(contents: &str, expected_message: &str) { |
| 1583 | let error = parse_benchmark(contents) |
no test coverage detected
searching dependent graphs…