mirror of
https://github.com/git/git.git
synced 2024-11-19 02:04:06 +01:00
Merge branch 'sg/t6300-modernize'
Test update. * sg/t6300-modernize: t6300-for-each-ref: fix "more than one quoting style" tests
This commit is contained in:
commit
44f2f3f919
@ -373,11 +373,8 @@ test_expect_success 'Quoting style: tcl' '
|
|||||||
|
|
||||||
for i in "--perl --shell" "-s --python" "--python --tcl" "--tcl --perl"; do
|
for i in "--perl --shell" "-s --python" "--python --tcl" "--tcl --perl"; do
|
||||||
test_expect_success "more than one quoting style: $i" "
|
test_expect_success "more than one quoting style: $i" "
|
||||||
git for-each-ref $i 2>&1 | (read line &&
|
test_must_fail git for-each-ref $i 2>err &&
|
||||||
case \$line in
|
grep '^error: more than one quoting style' err
|
||||||
\"error: more than one quoting style\"*) : happy;;
|
|
||||||
*) false
|
|
||||||
esac)
|
|
||||||
"
|
"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user