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

Method expect_compilation_err

std/src/testutils.rs:880–883  ·  view source on GitHub ↗

Expects the invocation to have erroneously terminated with the exact `message` during compilation. 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)

Source from the content-addressed store, hash-verified

878 /// If not called, defaults to expecting that execution terminated due to EOF. This or
879 /// `expect_err` can only be called once.
880 pub fn expect_compilation_err<S: Into<String>>(mut self, message: S) -> Self {
881 self.exp_result = Err(message.into());
882 self
883 }
884
885 /// Expects the invocation to have erroneously terminated with the exact `message`.
886 ///

Callers 10

test_load_errorsFunction · 0.45
test_save_errorsFunction · 0.45
do_bound_errors_testFunction · 0.45
test_help_errorsFunction · 0.45
test_input_errorsFunction · 0.45
test_copy_errorsFunction · 0.45
test_kill_errorsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected