(err: &sqlx::Error, expected_code: &str)
| 44 | } |
| 45 | |
| 46 | fn assert_sqlx_code(err: &sqlx::Error, expected_code: &str) { |
| 47 | assert_eq!( |
| 48 | err.as_database_error().and_then(|db| db.code()).as_deref(), |
| 49 | Some(expected_code) |
| 50 | ); |
| 51 | } |
| 52 | |
| 53 | fn assert_only_requested_extension_assets_are_materialized( |
| 54 | root: &Path, |
no outgoing calls
no test coverage detected