File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -426,14 +426,14 @@ test_expect_success 'option-like arguments passed to foreach commands are not lo
426
426
git submodule foreach "echo be --quiet" > ../expected &&
427
427
git submodule foreach echo be --quiet > ../actual
428
428
) &&
429
- grep -sq -e "--quiet" expected &&
429
+ test_grep -e "--quiet" expected &&
430
430
test_cmp expected actual
431
431
'
432
432
433
433
test_expect_success ' option-like arguments passed to foreach recurse correctly' '
434
434
git -C clone2 submodule foreach --recursive "echo be --an-option" >expect &&
435
435
git -C clone2 submodule foreach --recursive echo be --an-option >actual &&
436
- grep -e "--an-option" expect &&
436
+ test_grep -e "--an-option" expect &&
437
437
test_cmp expect actual
438
438
'
439
439
You can’t perform that action at this time.
0 commit comments