Fix warning

This commit is contained in:
gwenn 2019-02-14 20:53:00 +01:00
parent 6ce5c9ddcc
commit 364e885b89

View File

@ -327,7 +327,7 @@ fn is_identifier_continue(c: char) -> bool {
mod test { mod test {
use super::Sql; use super::Sql;
use crate::pragma; use crate::pragma;
use crate::{Connection, DatabaseName, NO_PARAMS}; use crate::{Connection, DatabaseName};
#[test] #[test]
fn pragma_query_value() { fn pragma_query_value() {
@ -341,6 +341,8 @@ mod test {
#[test] #[test]
#[cfg(feature = "bundled")] #[cfg(feature = "bundled")]
fn pragma_func_query_value() { fn pragma_func_query_value() {
use crate::NO_PARAMS;
let db = Connection::open_in_memory().unwrap(); let db = Connection::open_in_memory().unwrap();
let user_version: i32 = db let user_version: i32 = db
.query_row( .query_row(