t4015: split out the "setup" part of ws-error-highlight test
commitf3f5c7f5201ef71e62cea41a8b692cace2dcf579
authorJunio C Hamano <gitster@pobox.com>
Tue, 4 Oct 2016 22:21:38 +0000 (4 15:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 Oct 2016 22:49:05 +0000 (4 15:49 -0700)
tree1aaf34449d40611c82d4c6bc485e12f0354bfc6e
parente46579643d56162299b1756b70d418005351b256
t4015: split out the "setup" part of ws-error-highlight test

We'd want to run this same set of test twice, once with the option
and another time with an equivalent configuration setting.  Split
out the step that prepares the test data and expected output and
move the test for the command line option into a separate test.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4015-diff-whitespace.sh