chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcad2aa
)
tests: wip library-load
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 22 Feb 2021 00:31:23 +0000
(
00:31
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 22 Feb 2021 00:31:23 +0000
(
00:31
+0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
apitest/at-otter.rs
patch
|
blob
|
history
diff --git
a/apitest/at-otter.rs
b/apitest/at-otter.rs
index ae986e64aed65b62444a852d3d4d1375ccba0e91..8f61a74cdbdb12264a915c61727d7a42d51e0857 100644
(file)
--- 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");