summaryrefslogtreecommitdiffstats
path: root/tests/file_toml.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/file_toml.rs')
-rw-r--r--tests/file_toml.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/file_toml.rs b/tests/file_toml.rs
index 7591c20..9b4ef65 100644
--- a/tests/file_toml.rs
+++ b/tests/file_toml.rs
@@ -54,7 +54,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()));