From 00d0db2dafa4fc2f80d235099f9903ad1ea3f663 Mon Sep 17 00:00:00 2001 From: Eugeen Sablin Date: Fri, 30 Nov 2018 18:32:02 +0300 Subject: upgrade serde-hjson to v0.8.2 so we can have consistent error ckeck --- Cargo.toml | 2 +- tests/file_hjson.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1a4ea6a..deca170 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ nom = "4.0.0" toml = { version = "0.4.1", optional = true } serde_json = { version = "1.0.2", optional = true } yaml-rust = { version = "0.4", optional = true } -serde-hjson = { version = "0.8.1", optional = true } +serde-hjson = { version = "0.8.2", optional = true } rust-ini = { version = "0.13", optional = true } [dev-dependencies] diff --git a/tests/file_hjson.rs b/tests/file_hjson.rs index 9c63ad6..086489b 100644 --- a/tests/file_hjson.rs +++ b/tests/file_hjson.rs @@ -72,6 +72,6 @@ fn test_error_parse() { assert!(res.is_err()); assert_eq!( res.unwrap_err().to_string(), - "Found a punctuator where a key name was expected (check your syntax or use quotes if the key name includes {}[],: or whitespace) at line 1 column 1 in tests/Settings-invalid.hjson".to_string() + "Found a punctuator where a key name was expected (check your syntax or use quotes if the key name includes {}[],: or whitespace) at line 4 column 1 in tests/Settings-invalid.hjson".to_string() ); } -- cgit v1.2.3