MCPcopy Create free account
hub / github.com/endbasic/endbasic / test_extract_propline_errors_on_empty_console_spec

Function test_extract_propline_errors_on_empty_console_spec

cli/src/propline.rs:149–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147
148 #[test]
149 fn test_extract_propline_errors_on_empty_console_spec() {
150 let error =
151 do_extract("#!/usr/bin/env endbasic\nREM endbasic cli: console=\n").unwrap_err();
152 assert_eq!(io::ErrorKind::InvalidInput, error.kind());
153 assert_eq!("Invalid EndBASIC propline: missing console specification", error.to_string());
154 }
155}

Callers

nothing calls this directly

Calls 1

do_extractFunction · 0.85

Tested by

no test coverage detected