summaryrefslogtreecommitdiffstats
path: root/tests/file_hjson.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-03-14 09:59:36 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-03-14 09:59:36 +0100
commitdef3702fac13605af303b8319af15943cc7ff8e5 (patch)
tree8d745347c365c6e21a44843be88d72cabd3b07dc /tests/file_hjson.rs
parent48db2a16e892c3a21ada014fb8e163b33bcb483b (diff)
parentc26a941541ccd7733f7533372da71f0a5be36ed5 (diff)
Merge branch 'config-rs-issue-173'HEADmaster
Diffstat (limited to 'tests/file_hjson.rs')
-rw-r--r--tests/file_hjson.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/file_hjson.rs b/tests/file_hjson.rs
index b866dd6..c5e07fb 100644
--- a/tests/file_hjson.rs
+++ b/tests/file_hjson.rs
@@ -46,7 +46,7 @@ fn test_file() {
let c = make();
// Deserialize the entire file as single struct
- let s: Settings = c.try_into().unwrap();
+ let s: Settings = c.try_deserialize().unwrap();
assert!(s.debug.approx_eq_ulps(&1.0, 2));
assert_eq!(s.production, Some("false".to_string()));