Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 55 additions & 44 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ wildcards = "deny"
highlight = "all"
skip = [
{ crate = "hashbrown@0.16.1", reason = "Transitive: older release still pulled alongside hashbrown 0.17." },
{ crate = "syn@2.0.118", reason = "Transitive proc-macro dependencies still require syn 2; updated clap, serde, and thiserror use syn 3." },
{ crate = "unicode-width@0.1.14", reason = "Transitive: older release still pulled alongside unicode-width 0.2." },
]

Expand Down
12 changes: 6 additions & 6 deletions tests/cli/usage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ fn new_toplevel_aliases_are_listed_in_help() {
let out = pinto(dir.path()).arg("--help").assert().success();
let stdout = String::from_utf8(out.get_output().stdout.clone()).expect("utf8");
for alias in [
"aliases: d]",
"aliases: ln]",
"aliases: dd]",
"aliases: mig]",
"aliases: auto]",
"alias: d]",
"alias: ln]",
"alias: dd]",
"alias: mig]",
"alias: auto]",
] {
assert!(
stdout.contains(alias),
Expand Down Expand Up @@ -187,7 +187,7 @@ fn cli_options_have_short_forms() {
&["sprint", "unassign", "--help"],
&["Unassign a PBI from its sprint"],
),
(&["sprint", "--help"], &["aliases: rm]", "aliases: u]"]),
(&["sprint", "--help"], &["alias: rm]", "alias: u]"]),
(&["sprint", "list", "--help"], &["-j, --json"]),
(&["sprint", "burndown", "--help"], &["-j, --json"]),
(&["sprint", "velocity", "--help"], &["-n, --recent"]),
Expand Down
6 changes: 3 additions & 3 deletions tests/i18n.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ fn localized_help_preserves_aliases_and_short_options() {
.env("LC_ALL", "ja_JP.UTF-8")
.assert()
.success()
.stdout(predicate::str::contains("aliases: d]"))
.stdout(predicate::str::contains("aliases: ln]"))
.stdout(predicate::str::contains("aliases: auto]"));
.stdout(predicate::str::contains("alias: d]"))
.stdout(predicate::str::contains("alias: ln]"))
.stdout(predicate::str::contains("alias: auto]"));

// Subcommand short options (including board's -o, -f, -j, and -w).
let mut board = Command::cargo_bin("pinto").expect("binary builds");
Expand Down