summaryrefslogtreecommitdiffstats
path: root/tests/file_json.rs
diff options
context:
space:
mode:
authorConrad Ludgate <conradludgate@gmail.com>2021-11-22 14:00:10 +0000
committerConrad Ludgate <conradludgate@gmail.com>2021-11-23 07:40:53 +0000
commit11296ae50625053a64dbc7210dff814899879d0f (patch)
treed377f13881451f0b27eace0be61d0466ecb7c9e7 /tests/file_json.rs
parent3b60b9f5575ae60a672f006040707af423f67390 (diff)
rename try_into to try_deserialize to avoid confusion
Diffstat (limited to 'tests/file_json.rs')
-rw-r--r--tests/file_json.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/file_json.rs b/tests/file_json.rs
index d3fa0a9..5a04afd 100644
--- a/tests/file_json.rs
+++ b/tests/file_json.rs
@@ -45,7 +45,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()));