(project: String, program: &Path)
| 121 | } |
| 122 | |
| 123 | pub fn check(project: String, program: &Path) -> Result<Option<ProgramError>> { |
| 124 | let deopt = Deopt::new(project)?; |
| 125 | let executor = Executor::new(&deopt)?; |
| 126 | let has_err = executor.check_program_is_correct(program)?; |
| 127 | Ok(has_err) |
| 128 | } |
| 129 | |
| 130 | pub fn recheck(project: String) -> Result<()> { |
| 131 | let mut deopt = Deopt::new(project)?; |
no test coverage detected