File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -244,8 +244,8 @@ disallowed_methods = 'deny'
244244level = ' warn'
245245check-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
Original file line number Diff line number Diff line change @@ -2143,7 +2143,7 @@ create temporary table person(
21432143 Ok ( ( ) )
21442144}
21452145
2146- #[ allow ( unused ) ]
2146+ #[ sqlx_macros :: test ]
21472147async fn test_pg_copy_chunked ( ) -> anyhow:: Result < ( ) > {
21482148 let mut conn = new :: < Postgres > ( ) . await ?;
21492149
@@ -2160,6 +2160,7 @@ async fn test_pg_copy_chunked() -> anyhow::Result<()> {
21602160
21612161 assert ! ( copy. send( payload. as_bytes( ) ) . await . is_ok( ) ) ;
21622162 assert ! ( copy. finish( ) . await . is_ok( ) ) ;
2163+
21632164 Ok ( ( ) )
21642165}
21652166
You can’t perform that action at this time.
0 commit comments