Skip to content

Commit dd89a9f

Browse files
committed
Repair new test case for uncommit
1 parent 5a3649c commit dd89a9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t1300-uncommit.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ test_expect_success 'Uncommit when top != head' '
144144
'
145145

146146
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
147+
command_error stg uncommit --to HEAD^{tree} 2>err &&
148+
grep -e "error: Target \`HEAD^{tree}\` cannot be evaluated as a commit" err
149149
'
150150

151151
test_expect_success 'Uncommit to an annotated tag' '

0 commit comments

Comments
 (0)