summaryrefslogtreecommitdiffstats
path: root/tests/set.rs
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2017-07-30 13:20:36 -0700
committerRyan Leckey <leckey.ryan@gmail.com>2017-07-30 13:20:36 -0700
commit14224be23dc2f253a240b85214927d97e1160669 (patch)
tree6f5b02b26aef5cf37bb14f32b9048165b67109ce /tests/set.rs
parent71f4b182d1e56febda64bd620ae0e0f65de333cd (diff)
Remove ConfigResult; close #36
Diffstat (limited to 'tests/set.rs')
-rw-r--r--tests/set.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/set.rs b/tests/set.rs
index 14ddfae..0b0f1a3 100644
--- a/tests/set.rs
+++ b/tests/set.rs
@@ -61,7 +61,8 @@ fn test_set_capital() {
c.set_default("tHiS", false).unwrap();
c.set("THAT", true).unwrap();
- c.merge(File::from_str("{\"loGleVel\": 5}", FileFormat::Json)).unwrap();
+ c.merge(File::from_str("{\"loGleVel\": 5}", FileFormat::Json))
+ .unwrap();
assert_eq!(c.get("this").ok(), Some(false));
assert_eq!(c.get("ThIs").ok(), Some(false));