(filename: P)
| 29 | #[allow(dead_code)] // used by main for tests |
| 30 | pub fn check_versions_from(path: &str) -> Result<(), EngineInitError> { |
| 31 | fn read_lines<P: AsRef<Path>>(filename: P) -> io::Result<io::Lines<BufReader<File>>> { |
| 32 | let file = File::open(filename)?; |
| 33 | Ok(BufReader::new(file).lines()) |
| 34 | } |
| 35 | |
| 36 | // please append this vector if you want to test more binaries |
| 37 | let bin_to_check = ["terraform"]; |
no outgoing calls
no test coverage detected