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

Function test_edit_ok

std/src/program.rs:682–689  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

680
681 #[test]
682 fn test_edit_ok() {
683 Tester::default()
684 .set_program(Some("foo.bas"), "previous\n")
685 .add_input_chars("new line\n")
686 .run("EDIT")
687 .expect_program(Some("foo.bas"), "previous\nnew line\n")
688 .check();
689 }
690
691 #[test]
692 fn test_edit_errors() {

Callers

nothing calls this directly

Calls 5

expect_programMethod · 0.80
set_programMethod · 0.80
checkMethod · 0.45
runMethod · 0.45
add_input_charsMethod · 0.45

Tested by

no test coverage detected