[Git][reproducible-builds/diffoscope][master] Update test to match changes to diff output in 2eb16bf.

Chris Lamb gitlab at salsa.debian.org
Mon May 18 14:58:20 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
0293f49a by Chris Lamb at 2020-05-18T15:58:03+01:00
Update test to match changes to diff output in 2eb16bf.

Gbp-Dch: ignore

- - - - -


3 changed files:

- diffoscope/diff.py
- diffoscope/feeders.py
- tests/test_difference.py


Changes:

=====================================
diffoscope/diff.py
=====================================
@@ -3,7 +3,7 @@
 # diffoscope: in-depth comparison of files, archives, and directories
 #
 # Copyright © 2014-2015 Jérémy Bobbio <lunar at debian.org>
-# Copyright © 2017-2019 Chris Lamb <lamby at debian.org>
+# Copyright © 2017-2020 Chris Lamb <lamby at debian.org>
 #
 # diffoscope is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by


=====================================
diffoscope/feeders.py
=====================================
@@ -3,7 +3,7 @@
 # diffoscope: in-depth comparison of files, archives, and directories
 #
 # Copyright © 2014-2015 Jérémy Bobbio <lunar at debian.org>
-# Copyright © 2017, 2019 Chris Lamb <lamby at debian.org>
+# Copyright © 2017, 2019-2020 Chris Lamb <lamby at debian.org>
 #
 # diffoscope is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by


=====================================
tests/test_difference.py
=====================================
@@ -3,7 +3,7 @@
 # diffoscope: in-depth comparison of files, archives, and directories
 #
 # Copyright © 2015 Jérémy Bobbio <lunar at debian.org>
-# Copyright © 2016-2019 Chris Lamb <lamby at debian.org>
+# Copyright © 2016-2020 Chris Lamb <lamby at debian.org>
 #
 # diffoscope is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -48,7 +48,7 @@ def test_too_much_input_for_diff(monkeypatch):
         too_long_text_a, too_long_text_b, 'a', 'b'
     )
     assert '[ Too much input for diff ' in difference.unified_diff
-    assert_algebraic_properties(difference, 290)
+    assert_algebraic_properties(difference, 342)
 
 
 def test_too_long_diff_block_lines(monkeypatch):



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/0293f49a705f7252380cb513b3d980941a59e71e

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/0293f49a705f7252380cb513b3d980941a59e71e
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200518/51f00ed6/attachment.htm>


More information about the rb-commits mailing list