From 24007b143a1f4fccb324e924703956475548b51a Mon Sep 17 00:00:00 2001 From: Tom Dohrmann Date: Sat, 18 Jan 2020 13:39:49 +0100 Subject: [PATCH] fix tests for decode derive --- tests/derives.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/derives.rs b/tests/derives.rs index 0de3fc6d..e9b36e0a 100644 --- a/tests/derives.rs +++ b/tests/derives.rs @@ -21,7 +21,7 @@ fn decode() { struct Foo(i32); #[cfg(feature = "postgres")] - let _: Box> = Box::new(Foo(1)); + >::decode_null().ok(); #[cfg(feature = "mysql")] - let _: Box> = Box::new(Foo(1)); + >::decode_null().ok(); }