Merge branch 'jc/test-parse-options-expect'
commit2997ea960f7da94d74742ed41006f0afdb2164e7
authorJunio C Hamano <gitster@pobox.com>
Mon, 23 May 2016 21:54:32 +0000 (23 14:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 May 2016 21:54:32 +0000 (23 14:54 -0700)
treee63adff736a593686e3a67192fddfe727821967d
parent5d5f1c236b63596a59293a893d914dab1c8dd377
parent8ca65aebad55790d675f1eaead2dfc15fae60847
Merge branch 'jc/test-parse-options-expect'

t0040 had too many unnecessary repetitions in its test data.  Teach
test-parse-options program so that a caller can tell what it
expects in its output, so that these repetitions can be cleaned up.

* jc/test-parse-options-expect:
  t0040: convert a few tests to use test-parse-options --expect
  t0040: remove unused test helpers
  test-parse-options: --expect=<string> option to simplify tests
  test-parse-options: fix output when callback option fails
t/helper/test-parse-options.c