summaryrefslogtreecommitdiffstats
path: root/tests/env.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/env.rs')
-rw-r--r--tests/env.rs3
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"));