diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/env.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/env.rs b/tests/env.rs index b204118..932d2fc 100644 --- a/tests/env.rs +++ b/tests/env.rs @@ -54,8 +54,7 @@ fn test_prefix_with_variant_forms_of_spelling() { fn test_separator_behavior() { env::set_var("C_B_A", "abc"); - let mut environment = Environment::with_prefix("C"); - environment.separator("_"); + let mut environment = Environment::with_prefix("C").separator("_"); assert!(environment.collect().unwrap().contains_key("b.a")); |