Skip to content

Commit 1d8882a

Browse files
committed
Relax the env/option_env panic message (DNM)
1 parent 530fba8 commit 1d8882a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plrust-tests/src/trusted.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ mod tests {
190190

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

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

0 commit comments

Comments
 (0)