@@ -274,27 +274,27 @@ test_expect_success 'blame -L X,-N' '
274
274
'
275
275
276
276
test_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
278
278
'
279
279
280
280
test_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
282
282
'
283
283
284
284
test_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
286
286
'
287
287
288
288
test_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
290
290
'
291
291
292
292
test_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
294
294
'
295
295
296
296
test_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
298
298
'
299
299
300
300
# '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)' '
360
360
'
361
361
362
362
test_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
364
364
'
365
365
366
366
test_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
368
368
'
369
369
370
370
test_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
372
372
'
373
373
374
374
test_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
376
376
'
377
377
378
378
test_expect_success ' blame -L /RE/ (relative: end-of-file)' '
379
379
test_must_fail $PROG -L, -L/$/ file
380
380
'
381
381
382
382
test_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
384
384
'
385
385
386
386
test_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
388
388
'
389
389
390
390
test_expect_success ' blame -L ^/RE/ (absolute: not found)' '
0 commit comments