We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 57ffc0e + 33f0ea4 commit 216d2e0Copy full SHA for 216d2e0
1 file changed
t/t8003-blame.sh
@@ -158,11 +158,13 @@ EOF
158
'
159
160
test_expect_success 'blame -L with invalid start' '
161
- test_must_fail git blame -L5 tres 2>&1 | grep "has only 2 lines"
+ test_must_fail git blame -L5 tres 2>errors &&
162
+ grep "has only 2 lines" errors
163
164
165
test_expect_success 'blame -L with invalid end' '
- git blame -L1,5 tres 2>&1 | grep "has only 2 lines"
166
+ test_must_fail git blame -L1,5 tres 2>errors &&
167
168
169
170
test_done
0 commit comments