diff options
author | Christian Fochler <mail@christianfochler.de> | 2018-01-29 08:05:59 +0100 |
---|---|---|
committer | Christian Fochler <mail@christianfochler.de> | 2018-01-29 08:05:59 +0100 |
commit | 5ba6b7a437912ff40a216d3f99f963998b408911 (patch) | |
tree | 1b54afaf9c5cce2d9bb7b3a7f2867ae95ca4d568 /tests | |
parent | 52ed0762dff1514e0cb970528c6432caea479444 (diff) |
add default prefix separator
- no need to add '_' to the prefix
Diffstat (limited to 'tests')
-rw-r--r-- | tests/env.rs | 2 |
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")); |