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

Function test_list_ok

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

Source from the content-addressed store, hash-verified

695
696 #[test]
697 fn test_list_ok() {
698 Tester::default().run("LIST").check();
699
700 Tester::default()
701 .set_program(None, "one\n\nthree\n")
702 .run("LIST")
703 .expect_prints(["one", "", "three"])
704 .expect_program(None as Option<&str>, "one\n\nthree\n")
705 .check();
706 }
707
708 #[test]
709 fn test_list_paging() {

Callers

nothing calls this directly

Calls 5

expect_programMethod · 0.80
set_programMethod · 0.80
checkMethod · 0.45
runMethod · 0.45
expect_printsMethod · 0.45

Tested by

no test coverage detected