fix missing unwrap in tests
This commit is contained in:
parent
b056ed2c4e
commit
7780a91e19
|
@ -527,7 +527,7 @@ fn test_registry_value() {
|
|||
let f = lua.create_function(move |lua, ()| {
|
||||
if let Some(r) = r.take() {
|
||||
assert_eq!(lua.registry_value::<i32>(&r)?, 42);
|
||||
lua.remove_registry_value(r);
|
||||
lua.remove_registry_value(r).unwrap();
|
||||
} else {
|
||||
panic!();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue