From 549ceb59e27ec40649c2b972e29fbb641aae677a Mon Sep 17 00:00:00 2001 From: gwenn Date: Thu, 5 Nov 2020 22:21:02 +0100 Subject: [PATCH] Try to fix CI build --- src/lib.rs | 2 +- src/types/to_sql.rs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5d1bf02..b653377 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1890,7 +1890,7 @@ mod test { #[test] #[cfg(not(feature = "extra_check"))] - fn test_alter_table() -> Result<()> { + fn test_alter_table() -> Result { let db = checked_memory_handle(); db.execute_batch("CREATE TABLE x(t);")?; // `execute_batch` should be used but `execute` should also work diff --git a/src/types/to_sql.rs b/src/types/to_sql.rs index bd147c3..be88941 100644 --- a/src/types/to_sql.rs +++ b/src/types/to_sql.rs @@ -245,7 +245,6 @@ impl ToSql for Option { #[cfg(test)] mod test { use super::ToSql; - use crate::Result; fn is_to_sql() {} @@ -340,7 +339,7 @@ mod test { #[cfg(feature = "i128_blob")] #[test] - fn test_i128() -> Result<()> { + fn test_i128() -> crate::Result<()> { use crate::Connection; use std::i128; let db = Connection::open_in_memory()?; @@ -380,7 +379,7 @@ mod test { #[cfg(feature = "uuid")] #[test] - fn test_uuid() -> Result<()> { + fn test_uuid() -> crate::Result<()> { use crate::{params, Connection}; use uuid::Uuid;