Skip to content

Commit f8846ee

Browse files
Update toml
1 parent fb5f3c0 commit f8846ee

File tree

4 files changed

+5
-15
lines changed

4 files changed

+5
-15
lines changed

Cargo.lock

Lines changed: 1 addition & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ clap = { version = "4", features = ["derive"] }
3838
tar = "0.4.36"
3939
tempfile = "3.0.0"
4040
tera = "0.11.7"
41-
toml = "0.4.6"
41+
toml = "0.8.6"
4242
url = "2"
4343
walkdir = "2"
4444
warp = "0.3"

src/report/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,12 +698,11 @@ mod tests {
698698
};
699699
let gh = Crate::GitHub(repo);
700700

701-
let mut index = GitIndex::with_path(
701+
let index = GitIndex::with_path(
702702
WORK_DIR.join("crates.io-index"),
703703
"https://github.com/rust-lang/crates.io-index",
704704
)
705705
.unwrap();
706-
index.update().unwrap();
707706

708707
assert_eq!(
709708
get_crate_version_status(&index, &reg).unwrap().unwrap(),

tests/check_config/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fn test_bad_config_duplicate_crate() {
2121
.assert()
2222
.failure()
2323
.code(1)
24-
.stderr(contains("duplicate key: `lazy_static` for key `crates`"));
24+
.stderr(contains("duplicate key `lazy_static` in table `crates`"));
2525
}
2626

2727
#[test]
@@ -32,7 +32,7 @@ fn test_bad_config_duplicate_repo() {
3232
.failure()
3333
.code(1)
3434
.stderr(contains(
35-
"duplicate key: `brson/hello-rs` for key `github-repos`",
35+
"duplicate key `brson/hello-rs` in table `github-repos`",
3636
));
3737
}
3838

0 commit comments

Comments
 (0)