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

Method expect_output

std/src/testutils.rs:955–958  ·  view source on GitHub ↗

Adds the `out` sequence of captured outputs to the expected outputs of the execution.

(mut self, out: V)

Source from the content-addressed store, hash-verified

953
954 /// Adds the `out` sequence of captured outputs to the expected outputs of the execution.
955 pub fn expect_output<V: Into<Vec<CapturedOut>>>(mut self, out: V) -> Self {
956 self.exp_output.append(&mut out.into());
957 self
958 }
959
960 /// Adds the `out` sequence of strings to the expected outputs of the execution.
961 ///

Callers 15

test_help_eval_argFunction · 0.45
test_help_prefix_searchFunction · 0.45
test_help_pagingFunction · 0.45
test_cls_okFunction · 0.45
test_color_okFunction · 0.45
test_locate_okFunction · 0.45
test_print_okFunction · 0.45
test_gfx_circle_okFunction · 0.45

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected