From: Ian Jackson Date: Mon, 22 Feb 2021 00:31:23 +0000 (+0000) Subject: tests: wip library-load X-Git-Tag: otter-0.4.0~379 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1fb62de6ed07f4cdfa6e7e2a4f56c3cd6390ee08;p=otter.git tests: wip library-load Signed-off-by: Ian Jackson --- diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index ae986e64..8f61a74c 100644 --- a/apitest/at-otter.rs +++ b/apitest/at-otter.rs @@ -29,8 +29,9 @@ fn tests(mut c: Ctx) { #[throws(AE)] fn main() { { - let (opts, _cln, instance, su) = setup_core(&[module_path!()])?; + let (opts, _cln, instance, mut su) = setup_core(&[module_path!()])?; let spec = su.ds.game_spec_data()?; + let users = su.ds.setup_static_users(default(), |_|Ok(()))?; tests(Ctx { opts, spec, su })?; } info!("ok");