[Git][reproducible-builds/diffoscope][master] 2 commits: Update test to match new case-level output.

Chris Lamb gitlab at salsa.debian.org
Wed Apr 22 15:49:52 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
99406e9b by Chris Lamb at 2020-04-22T16:47:16+01:00
Update test to match new case-level output.

Gbp-Dch: ignore

- - - - -
b98ff6dd by Chris Lamb at 2020-04-22T16:47:16+01:00
releasing package diffoscope version 142

- - - - -


3 changed files:

- debian/changelog
- diffoscope/__init__.py
- tests/comparators/test_text.py


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,19 @@
-diffoscope (142) UNRELEASED; urgency=medium
+diffoscope (142) unstable; urgency=medium
 
-  * WIP (generated upon release).
+  [ Chris Lamb ]
+  * Render multiline difference comments in a way to show indentation.
+    (Closes: reproducible-builds/diffoscope#101)
+  * Correct parsing of "./setup.py test --pytest-args ...".
+  * Capitalise "Ordering differences only" in text comparison comments.
+  * Don't include the JSON similarity percentage if it is 0.0%.
+
+  [ Ben Hutchings ]
+  * Document how --exclude arguments are matched against filenames.
+
+  [ Vagrant Cascadian ]
+  * Add external tool reference for h5dump on Guix.
 
- -- Chris Lamb <lamby at debian.org>  Wed, 15 Apr 2020 19:36:15 +0100
+ -- Chris Lamb <lamby at debian.org>  Wed, 22 Apr 2020 16:35:14 +0100
 
 diffoscope (141) unstable; urgency=medium
 


=====================================
diffoscope/__init__.py
=====================================
@@ -18,4 +18,4 @@
 # You should have received a copy of the GNU General Public License
 # along with diffoscope.  If not, see <https://www.gnu.org/licenses/>.
 
-VERSION = "141"
+VERSION = "142"


=====================================
tests/comparators/test_text.py
=====================================
@@ -95,5 +95,5 @@ text_order2 = load_fixture('text_order2')
 
 def test_ordering_differences(text_order1, text_order2):
     difference = text_order1.compare(text_order2)
-    assert difference.comments == ['ordering differences only']
+    assert difference.comments == ['Ordering differences only']
     assert difference.unified_diff == get_data('text_order_expected_diff')



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/compare/f68a087216f39dc8bea4346e8d04e2cd70845b3a...b98ff6dd1a3698b358f9eda448f00d5b80ad62bf

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/compare/f68a087216f39dc8bea4346e8d04e2cd70845b3a...b98ff6dd1a3698b358f9eda448f00d5b80ad62bf
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/20200422/2dcca25d/attachment.htm>


More information about the rb-commits mailing list