mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
Try to fix CI build
This commit is contained in:
parent
da94f8eba6
commit
549ceb59e2
@ -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
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user