()
| 140 | |
| 141 | #[test] |
| 142 | fn test_extract_propline_errors_on_bad_prefix() { |
| 143 | let error = do_extract("#!/usr/bin/env endbasic\n' endbasic cli: nope\n").unwrap_err(); |
| 144 | assert_eq!(io::ErrorKind::InvalidInput, error.kind()); |
| 145 | assert_eq!("Invalid EndBASIC propline: ' endbasic cli: nope", error.to_string()); |
| 146 | } |
| 147 | |
| 148 | #[test] |
| 149 | fn test_extract_propline_errors_on_empty_console_spec() { |
nothing calls this directly
no test coverage detected