[diffoscope] branch master updated (ec646da -> 5197c6e)
Chris Lamb
chris at chris-lamb.co.uk
Sat Jan 21 12:16:21 CET 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a change to branch master
in repository diffoscope.
from ec646da tests: Split main and presenter tests.
new 58c95cd tests: Avoid DRY violations in presenter tests.
new 636ccbe tests: Actually compare the output of text/ReST/markdown formats to fixtures.
new 7778c24 tests: Drop output_* calls that are inconsistently applied to differences.
new 574f235 presenters: Instantiate our presenter classes directly instead of wrapping a method
new 5197c6e presenters.text: Remove superfluous empty newlines from diff.
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
diffoscope/presenters/markdown.py | 4 --
diffoscope/presenters/restructuredtext.py | 4 --
diffoscope/presenters/text.py | 16 +------
diffoscope/presenters/utils.py | 34 ++++++++-------
tests/comparators/test_cbfs.py | 2 -
tests/comparators/test_debian.py | 25 -----------
tests/comparators/test_directory.py | 3 --
tests/comparators/test_elf.py | 2 -
tests/comparators/utils/nonexisting.py | 5 ---
tests/data/output.md | 38 +++++++++++++++++
tests/data/output.rst | 52 +++++++++++++++++++++++
tests/data/output.txt | 31 ++++++++++++++
tests/test_presenters.py | 69 ++++++++++++++-----------------
13 files changed, 171 insertions(+), 114 deletions(-)
create mode 100644 tests/data/output.md
create mode 100644 tests/data/output.rst
create mode 100644 tests/data/output.txt
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list