Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put Rust and pgrx tests in separate modules
Since they compile separately, different dependencies can lead to warnings (see pgcentralfoundation/pgrx#1774 for details). So move shared functions to a new `test_util` module, keep the Rust-only tests in `mod test`, and keep the pgrx tests in `mod tests`. I wish I could put the pgrx tests in the required `pg_test` schema, but it appears that they require that the module be named "tests". Thanks @eeeebbbbrrrr for suggesting this solution.
- Loading branch information