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

Method expect_clear

std/src/testutils.rs:934–942  ·  view source on GitHub ↗

Adds tracking for all the side-effects of a clear operation on the machine.

(mut self)

Source from the content-addressed store, hash-verified

932
933 /// Adds tracking for all the side-effects of a clear operation on the machine.
934 pub fn expect_clear(mut self) -> Self {
935 self.exp_output.append(&mut vec![
936 CapturedOut::LeaveAlt,
937 CapturedOut::SetColor(None, None),
938 CapturedOut::ShowCursor,
939 CapturedOut::SetSync(true),
940 ]);
941 self
942 }
943
944 /// Adds a file to expect in the drive with a `name` and specific `content`.
945 ///

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected