Expects the invocation to have erroneously terminated with the exact `message`. If not called, defaults to expecting that execution terminated due to EOF. This or `expect_err` can only be called once.
(mut self, message: S)
| 887 | /// If not called, defaults to expecting that execution terminated due to EOF. This or |
| 888 | /// `expect_err` can only be called once. |
| 889 | pub fn expect_err<S: Into<String>>(mut self, message: S) -> Self { |
| 890 | self.exp_result = Err(message.into()); |
| 891 | self |
| 892 | } |
| 893 | |
| 894 | /// Adds the `name` array as an array to expect in the final state of the machine. The array |
| 895 | /// will be tested to have the same `subtype` and `dimensions`, as well as specific `contents`. |
no outgoing calls
no test coverage detected