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

Method set_line

std/src/console/readline.rs:588–591  ·  view source on GitHub ↗

Sets the expected resulting line for the test.

(mut self, line: &'static str)

Source from the content-addressed store, hash-verified

586
587 /// Sets the expected resulting line for the test.
588 fn set_line(mut self, line: &'static str) -> Self {
589 self.exp_line = line;
590 self
591 }
592
593 /// Sets the prompt to use for the test.
594 fn set_prompt(mut self, prompt: &'static str) -> Self {

Calls

no outgoing calls