Skip to content

Commit

Permalink
Merge pull request #169 from matthiasbeyer/fix-build
Browse files Browse the repository at this point in the history
Fix test failure
  • Loading branch information
matthiasbeyer authored Mar 16, 2021
2 parents bf09a73 + a9d0ad3 commit fb33478
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nom = "5.0.0"
toml = { version = "0.5", optional = true }
serde_json = { version = "1.0.2", optional = true }
yaml-rust = { version = "0.4", optional = true }
serde-hjson = { version = "0.9", optional = true }
serde-hjson = { version = "0.9", default-features = false, optional = true }
rust-ini = { version = "0.13", optional = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tests/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn test_error_parse() {
assert_eq!(
res.unwrap_err().to_string(),
format!(
"failed to parse datetime for key `error` at line 2 column 9 in {}",
"invalid TOML value, did you mean to use a quoted string? at line 2 column 9 in {}",
path.display()
)
);
Expand Down
2 changes: 1 addition & 1 deletion tests/file_toml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ fn test_error_parse() {
assert_eq!(
res.unwrap_err().to_string(),
format!(
"failed to parse datetime for key `error` at line 2 column 9 in {}",
"invalid TOML value, did you mean to use a quoted string? at line 2 column 9 in {}",
path_with_extension.display()
)
);
Expand Down

0 comments on commit fb33478

Please sign in to comment.