@@ -274,27 +274,27 @@ test_expect_success 'blame -L X,-N' '
274274'
275275
276276test_expect_success ' blame -L /RE/ (RE to end)' '
277- check_count -L/evil/ C 1 "A U Thor" 1
277+ check_count -L/\;* evil/ C 1 "A U Thor" 1
278278'
279279
280280test_expect_success ' blame -L /RE/,/RE2/' '
281- check_count -L/robot/,/green/ A 1 B 1 B2 1 D 1 E 1
281+ check_count -L/\;* robot/,/\;* green/ A 1 B 1 B2 1 D 1 E 1
282282'
283283
284284test_expect_success ' blame -L X,/RE/' '
285- check_count -L5,/evil/ B1 1 D 1 "A U Thor" 1
285+ check_count -L5,/\;* evil/ B1 1 D 1 "A U Thor" 1
286286'
287287
288288test_expect_success ' blame -L /RE/,Y' '
289- check_count -L/99/,7 B1 1 D 1 "A U Thor" 1
289+ check_count -L/\;* 99/,7 B1 1 D 1 "A U Thor" 1
290290'
291291
292292test_expect_success ' blame -L /RE/,+N' '
293- check_count -L/99/,+3 B1 1 D 1 "A U Thor" 1
293+ check_count -L/\;* 99/,+3 B1 1 D 1 "A U Thor" 1
294294'
295295
296296test_expect_success ' blame -L /RE/,-N' '
297- check_count -L/99/,-3 B 1 B2 1 D 1
297+ check_count -L/\;* 99/,-3 B 1 B2 1 D 1
298298'
299299
300300# 'file' ends with an incomplete line, so 'wc' reports one fewer lines than
@@ -360,31 +360,31 @@ test_expect_success 'blame -L multiple (superset/subset: unordered)' '
360360'
361361
362362test_expect_success ' blame -L /RE/ (relative)' '
363- check_count -L3,3 -L/fox/ B1 1 B2 1 C 1 D 1 "A U Thor" 1
363+ check_count -L3,3 -L/\;* fox/ B1 1 B2 1 C 1 D 1 "A U Thor" 1
364364'
365365
366366test_expect_success ' blame -L /RE/ (relative: no preceding range)' '
367- check_count -L/dog/ A 1 B 1 B1 1 B2 1 C 1 D 1 "A U Thor" 1
367+ check_count -L/\;* dog/ A 1 B 1 B1 1 B2 1 C 1 D 1 "A U Thor" 1
368368'
369369
370370test_expect_success ' blame -L /RE/ (relative: adjacent)' '
371- check_count -L1,1 -L/dog/,+1 A 1 E 1
371+ check_count -L1,1 -L/\;* dog/,+1 A 1 E 1
372372'
373373
374374test_expect_success ' blame -L /RE/ (relative: not found)' '
375- test_must_fail $PROG -L4,4 -L/dog/ file
375+ test_must_fail $PROG -L4,4 -L/\;* dog/ file
376376'
377377
378378test_expect_success ' blame -L /RE/ (relative: end-of-file)' '
379379 test_must_fail $PROG -L, -L/$/ file
380380'
381381
382382test_expect_success ' blame -L ^/RE/ (absolute)' '
383- check_count -L3,3 -L^/dog/,+2 A 1 B2 1
383+ check_count -L3,3 -L^/\;* dog/,+2 A 1 B2 1
384384'
385385
386386test_expect_success ' blame -L ^/RE/ (absolute: no preceding range)' '
387- check_count -L^/dog/,+2 A 1 B2 1
387+ check_count -L^/\;* dog/,+2 A 1 B2 1
388388'
389389
390390test_expect_success ' blame -L ^/RE/ (absolute: not found)' '
0 commit comments