Skip to content

Commit

Permalink
fix warnings during sqlite tests
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
  • Loading branch information
andrewwhitehead committed Sep 23, 2021
1 parent fe094dc commit b850090
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/sqlite/derives.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use sqlx::Sqlite;
use sqlx_test::{new, test_type};
use sqlx_test::test_type;

#[derive(Debug, PartialEq, sqlx::Type)]
#[repr(u32)]
Expand Down
8 changes: 4 additions & 4 deletions tests/sqlite/types.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
use sqlx::sqlite::{Sqlite, SqliteRow};
use sqlx_core::row::Row;
use sqlx_test::new;
use sqlx::sqlite::Sqlite;
use sqlx_test::test_type;

test_type!(null<Option<i32>>(Sqlite,
Expand Down Expand Up @@ -38,8 +36,10 @@ test_type!(bytes<Vec<u8>>(Sqlite,
mod json_tests {
use super::*;
use serde_json::{json, Value as JsonValue};
use sqlx::sqlite::SqliteRow;
use sqlx::types::Json;
use sqlx_test::test_type;
use sqlx_core::row::Row;
use sqlx_test::new;

test_type!(json<JsonValue>(
Sqlite,
Expand Down

0 comments on commit b850090

Please sign in to comment.