Skip to content

Commit 7780a91

Browse files
committed
fix missing unwrap in tests
1 parent b056ed2 commit 7780a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ fn test_registry_value() {
527527
let f = lua.create_function(move |lua, ()| {
528528
if let Some(r) = r.take() {
529529
assert_eq!(lua.registry_value::<i32>(&r)?, 42);
530-
lua.remove_registry_value(r);
530+
lua.remove_registry_value(r).unwrap();
531531
} else {
532532
panic!();
533533
}

0 commit comments

Comments
 (0)