* for 20 lines, or "-L <something>,-5" for 5 lines ending at
* <something>.
*/
- if (1 < begin && (spec[0] == '+' || spec[0] == '-')) {
+ if (1 <= begin && (spec[0] == '+' || spec[0] == '-')) {
num = strtol(spec + 1, &term, 10);
if (term != spec + 1) {
if (!ret)
check_count -L6,3 B 1 B1 1 B2 1 D 1
'
-test_expect_failure 'blame -L ,+0' '
+test_expect_success 'blame -L ,+0' '
test_must_fail $PROG -L,+0 file
'
check_count -L3,+4 B 1 B1 1 B2 1 D 1
'
-test_expect_failure 'blame -L ,-0' '
+test_expect_success 'blame -L ,-0' '
test_must_fail $PROG -L,-0 file
'