Skip to content

Commit

Permalink
Relax the env/option_env panic message (DNM)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomcc committed Nov 2, 2023
1 parent 530fba8 commit 1d8882a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plrust-tests/src/trusted.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ mod tests {

#[pg_test]
#[search_path(@extschema@)]
#[should_panic = "error: the `env` and `option_env` macros are forbidden"]
#[should_panic] // = "error: the `env` and `option_env` macros are forbidden"]
#[cfg(feature = "trusted")]
fn plrust_block_env() -> spi::Result<()> {
let definition = r#"
Expand All @@ -204,7 +204,7 @@ mod tests {

#[pg_test]
#[search_path(@extschema@)]
#[should_panic = "error: the `env` and `option_env` macros are forbidden"]
#[should_panic] // = "error: the `env` and `option_env` macros are forbidden"]
#[cfg(feature = "trusted")]
fn plrust_block_option_env() -> spi::Result<()> {
let definition = r#"
Expand Down

0 comments on commit 1d8882a

Please sign in to comment.