From cb01a7508dacda2b58feead27b13fd0c59598403 Mon Sep 17 00:00:00 2001 From: Joshua Potts <8704475+iamjpotts@users.noreply.github.com> Date: Fri, 1 Aug 2025 13:18:07 -0400 Subject: [PATCH] chore(sqlite): Remove unused test of removed git2 feature Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com> --- tests/sqlite/error.rs | 2 +- tests/sqlite/types.rs | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/tests/sqlite/error.rs b/tests/sqlite/error.rs index 8729842b70..a53bd1d1eb 100644 --- a/tests/sqlite/error.rs +++ b/tests/sqlite/error.rs @@ -1,4 +1,4 @@ -use sqlx::{error::ErrorKind, sqlite::Sqlite, Connection, Error, Executor}; +use sqlx::{error::ErrorKind, sqlite::Sqlite, Connection, Error}; use sqlx_test::new; #[sqlx_macros::test] diff --git a/tests/sqlite/types.rs b/tests/sqlite/types.rs index 302ad54a61..4621dcafd1 100644 --- a/tests/sqlite/types.rs +++ b/tests/sqlite/types.rs @@ -1,7 +1,7 @@ extern crate time_ as time; use sqlx::sqlite::{Sqlite, SqliteRow}; -use sqlx::{FromRow, Type}; +use sqlx::Type; use sqlx_core::executor::Executor; use sqlx_core::row::Row; use sqlx_core::types::Text; @@ -175,19 +175,6 @@ mod bstr { )); } -#[cfg(feature = "git2")] -mod git2 { - use super::*; - use sqlx::types::git2::Oid; - - test_type!(oid( - Sqlite, - "x'0000000000000000000000000000000000000000'" == Oid::zero(), - "x'000102030405060708090a0b0c0d0e0f10111213'" - == Oid::from_str("000102030405060708090a0b0c0d0e0f10111213").unwrap() - )); -} - #[cfg(feature = "uuid")] test_type!(uuid(Sqlite, "x'b731678f636f4135bc6f19440c13bd19'"