summaryrefslogtreecommitdiffstats
path: root/tests/env.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/env.rs')
-rw-r--r--tests/env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/env.rs b/tests/env.rs
index fc93f15..2a55d7f 100644
--- a/tests/env.rs
+++ b/tests/env.rs
@@ -18,7 +18,7 @@ fn test_default() {
fn test_prefix_is_removed_from_key() {
env::set_var("B_A_C", "abc");
- let environment = Environment::with_prefix("B_");
+ let environment = Environment::with_prefix("B");
assert!(environment.collect().unwrap().contains_key("a_c"));