Skip to content

Commit a290bbd

Browse files
committed
pr feedback - reorder cfg allowance; enable test_pg_copy_chunked test
Signed-off-by: Joshua Potts <[email protected]>
1 parent 736d627 commit a290bbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ disallowed_methods = 'deny'
244244
level = 'warn'
245245
check-cfg = [
246246
'cfg(mariadb, values(any()))',
247-
'cfg(sqlite_ipaddr)',
248247
'cfg(postgres, values(any()))',
248+
'cfg(sqlite_ipaddr)',
249249
'cfg(sqlite_test_sqlcipher)',
250250
]
251251

tests/postgres/postgres.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2143,7 +2143,7 @@ create temporary table person(
21432143
Ok(())
21442144
}
21452145

2146-
#[allow(unused)]
2146+
#[sqlx_macros::test]
21472147
async fn test_pg_copy_chunked() -> anyhow::Result<()> {
21482148
let mut conn = new::<Postgres>().await?;
21492149

0 commit comments

Comments
 (0)