Try to fix CI build

This commit is contained in:
gwenn 2020-11-05 22:21:02 +01:00
parent da94f8eba6
commit 549ceb59e2
2 changed files with 3 additions and 4 deletions

View File

@ -1890,7 +1890,7 @@ mod test {
#[test] #[test]
#[cfg(not(feature = "extra_check"))] #[cfg(not(feature = "extra_check"))]
fn test_alter_table() -> Result<()> { fn test_alter_table() -> Result<usize> {
let db = checked_memory_handle(); let db = checked_memory_handle();
db.execute_batch("CREATE TABLE x(t);")?; db.execute_batch("CREATE TABLE x(t);")?;
// `execute_batch` should be used but `execute` should also work // `execute_batch` should be used but `execute` should also work

View File

@ -245,7 +245,6 @@ impl<T: ToSql> ToSql for Option<T> {
#[cfg(test)] #[cfg(test)]
mod test { mod test {
use super::ToSql; use super::ToSql;
use crate::Result;
fn is_to_sql<T: ToSql>() {} fn is_to_sql<T: ToSql>() {}
@ -340,7 +339,7 @@ mod test {
#[cfg(feature = "i128_blob")] #[cfg(feature = "i128_blob")]
#[test] #[test]
fn test_i128() -> Result<()> { fn test_i128() -> crate::Result<()> {
use crate::Connection; use crate::Connection;
use std::i128; use std::i128;
let db = Connection::open_in_memory()?; let db = Connection::open_in_memory()?;
@ -380,7 +379,7 @@ mod test {
#[cfg(feature = "uuid")] #[cfg(feature = "uuid")]
#[test] #[test]
fn test_uuid() -> Result<()> { fn test_uuid() -> crate::Result<()> {
use crate::{params, Connection}; use crate::{params, Connection};
use uuid::Uuid; use uuid::Uuid;