Skip to content

Commit 16eb3b6

Browse files
committed
refactor(sqlite): For macros tests, use _sqlite pseudo feature instead of #![cfg(...)] in the module
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
1 parent 36282e9 commit 16eb3b6

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ required-features = ["sqlite"]
299299
[[test]]
300300
name = "sqlite-macros"
301301
path = "tests/sqlite/macros.rs"
302-
required-features = ["macros"] # Also requires either sqlite or sqlite-unbundled
302+
required-features = ["_sqlite", "macros"]
303303

304304
[[test]]
305305
name = "sqlite-derives"

tests/sqlite/macros.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![cfg(any(feature = "sqlite", feature = "sqlite-unbundled"))]
2-
31
use sqlx::Sqlite;
42
use sqlx_test::new;
53

0 commit comments

Comments
 (0)