summaryrefslogtreecommitdiffstats
path: root/tests/file_json.rs
diff options
context:
space:
mode:
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 1262585..09c42bb 100644
--- a/tests/file_json.rs
+++ b/tests/file_json.rs
@@ -75,6 +75,6 @@ fn test_error_parse() {
assert!(res.is_err());
assert_eq!(
res.unwrap_err().to_string(),
- format!("expected `:` at line 4 column 1 in {}", path_with_extension.to_str().unwrap())
+ format!("expected `:` at line 4 column 1 in {}", path_with_extension.display())
);
}