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

Method take_captured_out

std/src/testutils.rs:194–198  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

192 /// Takes the captured output for separate analysis.
193 #[must_use]
194 pub fn take_captured_out(&mut self) -> Vec<CapturedOut> {
195 let mut copy = Vec::with_capacity(self.captured_out.len());
196 copy.append(&mut self.captured_out);
197 copy
198 }
199
200 /// Sets the size of the mock text console.
201 pub fn set_size_chars(&mut self, size: CharsXY) {

Calls 2

appendMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected