fix: Do not duplicate ctx expr in check_call!

(cherry picked from commit 9b6f0c1e66d80ec2e92ce079152edb22c05e9b1e)
This commit is contained in:
Robert Hensing 2024-06-15 14:34:30 +02:00
parent 870c03ee4d
commit bf6dbd3f1e
3 changed files with 38 additions and 17 deletions

View file

@ -40,7 +40,7 @@ mod tests {
fn setup() {
let mut ctx = context::Context::new();
unsafe {
check_call!(raw::libstore_init[ctx]).unwrap();
check_call!(raw::libstore_init[&mut ctx]).unwrap();
}
}