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

Method add_output

std/src/console/readline.rs:563–566  ·  view source on GitHub ↗

Adds a single state change to the expected output.

(mut self, output: CapturedOut)

Source from the content-addressed store, hash-verified

561
562 /// Adds a single state change to the expected output.
563 fn add_output(mut self, output: CapturedOut) -> Self {
564 self.exp_output.push(output);
565 self
566 }
567
568 /// Adds a bunch of `bytes` as separate console writes to the expected output.
569 fn add_output_bytes(mut self, bytes: &'static str) -> Self {

Calls 1

pushMethod · 0.80