Skip to content

Commit 1e6c99c

Browse files
committed
Bump clap from 4.0.11 to 4.0.17
Tests are updated to accommodate slightly different error message verbiage in the version of clap.
1 parent b4cd77c commit 1e6c99c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Cargo.lock

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

t/t0004-main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ test_expect_success 'Test help on regular command' '
2626

2727
test_expect_success 'Test help on ambiguous command' '
2828
general_error stg pu 2>err &&
29-
grep -e "Did you mean .pu... or .pu..." err &&
29+
grep -e "Did you mean .pu...*.pu..." err &&
3030
general_error stg help pu 2>err &&
3131
grep -e "The subcommand .pu. wasn.t recognized" err
3232
'

t/t0010-alias.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test_expect_success 'Test ambiguous alias' '
1414
stg init &&
1515
stg show &&
1616
general_error stg sho 2>err &&
17-
grep -e "Did you mean .show-stat. or .show." err
17+
grep -e "Did you mean .show-stat..*.show." err
1818
'
1919

2020
test_expect_success 'Setup top-level and nested aliases' '

t/t1300-uncommit.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ test_expect_success \
5656
'Invalid --number' \
5757
'
5858
general_error stg uncommit --number -1 2>err &&
59-
grep -e "Invalid value \"-1\" for .--number <number>.: .-1. is not a positive integer" err
59+
grep -e "Invalid value .-1. for .--number <number>.: .-1. is not a positive integer" err
6060
'
6161

6262
test_expect_success \
@@ -124,7 +124,7 @@ test_expect_success 'Attempt to reuse patch name' '
124124

125125
test_expect_success 'Attempt to use invalid patch name' '
126126
general_error stg uncommit bad..patchname 2>err &&
127-
grep -e "error: Invalid value \"bad\.\.patchname\" for .\[patchname\]\.\.\.." err
127+
grep -e "error: Invalid value .bad\.\.patchname. for .\[patchname\]\.\.\.." err
128128
'
129129

130130
test_expect_success 'Uncommit a commit with not precisely one parent' '

t/t2600-squash.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test_expect_success 'Attempt duplicate patch name' '
2525

2626
test_expect_success 'Attempt invalid patch name' '
2727
general_error stg squash -n invalid..name -- p0 p1 2>err &&
28-
grep -e "Invalid value \"invalid..name\" for .--name <name>.: Invalid patch name" err
28+
grep -e "Invalid value .invalid..name. for .--name <name>.: Invalid patch name" err
2929
'
3030

3131
test_expect_success 'Attempt out of order' '

0 commit comments

Comments
 (0)