Skip to content

Commit

Permalink
Auto merge of #7248 - ehuss:update-toml, r=alexcrichton
Browse files Browse the repository at this point in the history
Bump toml 0.5.3
  • Loading branch information
bors committed Aug 13, 2019
2 parents 6aca041 + b41c209 commit c3b8d1e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ strip-ansi-escapes = "0.1.0"
tar = { version = "0.4.18", default-features = false }
tempfile = "3.0"
termcolor = "1.0"
toml = "0.5.0"
toml = "0.5.3"
url = { version = "2.0", features = ['serde'] }
walkdir = "2.2"
clap = "2.31.2"
Expand Down
4 changes: 2 additions & 2 deletions tests/testsuite/bad_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Caused by:
could not parse input as TOML
Caused by:
expected an equals, found eof at line 1
expected an equals, found eof at line 1 column 2
",
)
.run();
Expand Down Expand Up @@ -465,7 +465,7 @@ Caused by:
could not parse input as TOML
Caused by:
expected a table key, found a newline at line 8
expected a table key, found a newline at line 8 column 23
",
)
.run();
Expand Down
6 changes: 3 additions & 3 deletions tests/testsuite/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Caused by:
could not parse input as TOML
Caused by:
invalid number at line 3
invalid number at line 3 column 19
",
)
.run();
Expand All @@ -208,7 +208,7 @@ Caused by:
could not parse input as TOML
Caused by:
invalid number at line 1
invalid number at line 1 column 5
",
)
.run();
Expand Down Expand Up @@ -2274,7 +2274,7 @@ Caused by:
could not parse input as TOML
Caused by:
expected an equals, found an identifier at line 1
expected an equals, found an identifier at line 1 column 6
",
)
.run();
Expand Down
4 changes: 2 additions & 2 deletions tests/testsuite/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ Caused by:
Caused by:
could not parse input as TOML
Caused by:
expected an equals, found eof at line 1",
expected an equals, found eof at line 1 column 5",
);
}

Expand Down Expand Up @@ -517,7 +517,7 @@ expected a list, but found a integer for `l3` in [..]/.cargo/config",
assert_error(
config.get::<L>("bad-env").unwrap_err(),
"error in environment variable `CARGO_BAD_ENV`: \
could not parse TOML list: invalid number at line 1",
could not parse TOML list: invalid number at line 1 column 10",
);

// Try some other sequence-like types.
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2439,7 +2439,7 @@ fn invalid_git_dependency_manifest() {
could not parse input as TOML\n\
\n\
Caused by:\n \
duplicate key: `categories` for key `project`",
duplicate key: `categories` for key `project` at line 10 column 17",
path2url(&git_root),
path2url(&git_root),
))
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/workspaces.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ failed to parse manifest at `[..]foo/Cargo.toml`
Caused by:
could not parse input as TOML
Caused by:
expected an equals, found eof at line 1
expected an equals, found eof at line 1 column 5
Created binary (application) `bar` package
",
)
Expand Down

0 comments on commit c3b8d1e

Please sign in to comment.