Run all functions in a file that are succeeded by "run:" comments
(path: &PathBuf)
| 74 | |
| 75 | /// Run all functions in a file that are succeeded by "run:" comments |
| 76 | fn run_single_file(path: &PathBuf) -> Result<()> { |
| 77 | let file_contents = read_to_string(&path)?; |
| 78 | run_file_contents(file_contents) |
| 79 | } |
| 80 | |
| 81 | /// Main body of `run_single_file` separated for testing |
| 82 | fn run_file_contents(file_contents: String) -> Result<()> { |
no test coverage detected