Skip to content

Commit 6b48136

Browse files
committed
fixup! t800[12]: work around MSys limitation
1 parent 10893de commit 6b48136

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

t/annotate-tests.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -274,27 +274,27 @@ test_expect_success 'blame -L X,-N' '
274274
'
275275

276276
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
278278
'
279279

280280
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
282282
'
283283

284284
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
286286
'
287287

288288
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
290290
'
291291

292292
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
294294
'
295295

296296
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
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

362362
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
364364
'
365365

366366
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
368368
'
369369

370370
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
372372
'
373373

374374
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
376376
'
377377

378378
test_expect_success 'blame -L /RE/ (relative: end-of-file)' '
379379
test_must_fail $PROG -L, -L/$/ file
380380
'
381381

382382
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
384384
'
385385

386386
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
388388
'
389389

390390
test_expect_success 'blame -L ^/RE/ (absolute: not found)' '

0 commit comments

Comments
 (0)