Skip to content

Commit c825bd3

Browse files
authored
chore(sqlite): Remove unused test of removed git2 feature (#3956)
Signed-off-by: Joshua Potts <[email protected]>
1 parent 24317d5 commit c825bd3

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

tests/sqlite/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use sqlx::{error::ErrorKind, sqlite::Sqlite, Connection, Error, Executor};
1+
use sqlx::{error::ErrorKind, sqlite::Sqlite, Connection, Error};
22
use sqlx_test::new;
33

44
#[sqlx_macros::test]

tests/sqlite/types.rs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extern crate time_ as time;
22

33
use sqlx::sqlite::{Sqlite, SqliteRow};
4-
use sqlx::{FromRow, Type};
4+
use sqlx::Type;
55
use sqlx_core::executor::Executor;
66
use sqlx_core::row::Row;
77
use sqlx_core::types::Text;
@@ -175,19 +175,6 @@ mod bstr {
175175
));
176176
}
177177

178-
#[cfg(feature = "git2")]
179-
mod git2 {
180-
use super::*;
181-
use sqlx::types::git2::Oid;
182-
183-
test_type!(oid<Oid>(
184-
Sqlite,
185-
"x'0000000000000000000000000000000000000000'" == Oid::zero(),
186-
"x'000102030405060708090a0b0c0d0e0f10111213'"
187-
== Oid::from_str("000102030405060708090a0b0c0d0e0f10111213").unwrap()
188-
));
189-
}
190-
191178
#[cfg(feature = "uuid")]
192179
test_type!(uuid<sqlx::types::Uuid>(Sqlite,
193180
"x'b731678f636f4135bc6f19440c13bd19'"

0 commit comments

Comments
 (0)