summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2018-11-30 12:21:15 -0800
committerGitHub <noreply@github.com>2018-11-30 12:21:15 -0800
commit05bc8dee889dd95663a3441bd58fb5abdf322d9e (patch)
tree3fe63ed1ef6d3f4b1aebbee8911c0628fca51b08
parent4d8a1d018fffe141b7ac7594239fded599befbc3 (diff)
parent00d0db2dafa4fc2f80d235099f9903ad1ea3f663 (diff)
Merge pull request #87 from geniusisme/genius_isme/bump_hjson
upgrade serde-hjson to v0.8.2 so we can have consistent error check
-rw-r--r--Cargo.toml2
-rw-r--r--tests/file_hjson.rs2
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()
);
}