Skip to content

Commit

Permalink
update long env testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
yanganto committed Feb 15, 2024
1 parent 547a537 commit 9cf64e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ mod tests {
fn test_ignore_in_github_action() {
println!("should be ignored in GITHUB_ACTION");
}

#[test_with::env(
IT_SOME_LONG_ENV_VAR_NAME_TEST_URL,
IT_SOME_LONG_ENV_VAR_NAME_TEST_AUTH_TOKEN
)]
#[test]
fn test_ignored_with_long_env() {
panic!("should be ignored")
}
}

#[test_with::env(PWD)]
Expand Down

0 comments on commit 9cf64e3

Please sign in to comment.