From 766bead509270c61298cfa9bed7ef32985f83063 Mon Sep 17 00:00:00 2001 From: Alex Whitney Date: Thu, 23 Jun 2022 13:57:49 +0100 Subject: [PATCH] re-enable test drop check --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 2fa0a76..4ad3978 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1107,7 +1107,7 @@ mod tests { struct WrapU32(u32); impl Drop for WrapU32 { fn drop(&mut self) { - // panic!("undroppable") + panic!("undroppable") } } fn objfn(x: &[f64], _grad: Option<&mut [f64]>, call_ct: &mut WrapU32) -> f64 {