summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Fochler <mail@christianfochler.de>2018-01-29 08:05:59 +0100
committerChristian Fochler <mail@christianfochler.de>2018-01-29 08:05:59 +0100
commit5ba6b7a437912ff40a216d3f99f963998b408911 (patch)
tree1b54afaf9c5cce2d9bb7b3a7f2867ae95ca4d568 /tests
parent52ed0762dff1514e0cb970528c6432caea479444 (diff)
add default prefix separator
- no need to add '_' to the prefix
Diffstat (limited to 'tests')
-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"));