[diffoscope] 01/01: We strip the leading / now, so update the test.

Chris Lamb chris at chris-lamb.co.uk
Tue Mar 14 19:19:23 CET 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch experimental
in repository diffoscope.

commit 2bf4008fba5bd14d5730a44622f593963434fb74
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Mar 14 19:19:01 2017 +0100

    We strip the leading / now, so update the test.
    
    Gbp-Dch: ignore
---
 tests/comparators/test_squashfs.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/comparators/test_squashfs.py b/tests/comparators/test_squashfs.py
index 1b379ef..05bc20d 100644
--- a/tests/comparators/test_squashfs.py
+++ b/tests/comparators/test_squashfs.py
@@ -68,8 +68,8 @@ def test_symlink(differences):
 
 @skip_unless_tools_exist('unsquashfs')
 def test_compressed_files(differences):
-    assert differences[3].source1 == '/text'
-    assert differences[3].source2 == '/text'
+    assert differences[3].source1 == 'text'
+    assert differences[3].source2 == 'text'
     expected_diff = get_data('text_ascii_expected_diff')
     assert differences[3].unified_diff == expected_diff
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list