1
0
Fork 0
forked from wry/wry

autocommit 2022-05-01 21:44:09 CEST

This commit is contained in:
Julian Orth 2022-05-01 21:44:09 +02:00
parent cca3850800
commit 04580c4aeb
38 changed files with 815 additions and 124 deletions

View file

@ -25,7 +25,7 @@ macro_rules! test_object {
$(
$code => $oname::$f(&self, parser).with_context(|| format!("While handling a `{}` event", stringify!($f))),
)*
_ => Err(crate::it::test_error::TestError::new("Unknown event {}")),
_ => Err(crate::it::test_error::TestError::new(format!("Unknown event {}", request))),
};
res.with_context(|| format!("In object {} of type `{}`", self.id(), self.interface().name()))
}