We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a3649c commit dd89a9fCopy full SHA for dd89a9f
t/t1300-uncommit.sh
@@ -144,8 +144,8 @@ test_expect_success 'Uncommit when top != head' '
144
'
145
146
test_expect_success 'Uncommit to something that does not resolve to a commit' '
147
- general_error stg uncommit --to HEAD^{tree} 2>err &&
148
- grep -e "error: Target `HEAD^{tree}` cannot be evaluated as a commit" err
+ command_error stg uncommit --to HEAD^{tree} 2>err &&
+ grep -e "error: Target \`HEAD^{tree}\` cannot be evaluated as a commit" err
149
150
151
test_expect_success 'Uncommit to an annotated tag' '
0 commit comments