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:
Junio C Hamano 2018-03-06 14:54:03 -08:00
Родитель f2fd27c6bf 2708ef4af6
Коммит 44f2f3f919
1 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -373,11 +373,8 @@ test_expect_success 'Quoting style: tcl' '
for i in "--perl --shell" "-s --python" "--python --tcl" "--tcl --perl"; do
test_expect_success "more than one quoting style: $i" "
git for-each-ref $i 2>&1 | (read line &&
case \$line in
\"error: more than one quoting style\"*) : happy;;
*) false
esac)
test_must_fail git for-each-ref $i 2>err &&
grep '^error: more than one quoting style' err
"
done