MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_input_propagates_eof_as_error

Function test_input_propagates_eof_as_error

std/src/console/cmds.rs:933–939  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

931
932 #[test]
933 fn test_input_propagates_eof_as_error() {
934 Tester::default()
935 .add_input_keys(&[Key::EofOrDelete])
936 .run("INPUT a")
937 .expect_err("1:1: EOF")
938 .check();
939 }
940
941 #[test]
942 fn test_locate_ok() {

Callers

nothing calls this directly

Calls 4

add_input_keysMethod · 0.80
checkMethod · 0.45
expect_errMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected