Adds a single state change to the expected output.
(mut self, output: CapturedOut)
| 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 { |