File tree Expand file tree Collapse file tree 4 files changed +22
-0
lines changed
Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ diff --git a/Jamroot b/Jamroot
2+ index a6981dd..0c08f09 100644
3+ --- a/Jamroot
4+ +++ b/Jamroot
5+ @@ -1,3 +1,4 @@
6+ X
7+ Y
8+ + V
9+ W
Original file line number Diff line number Diff line change 1+ X
2+ Y
3+ Z
Original file line number Diff line number Diff line change 1+ X
2+ Y
3+ V
4+ Z
Original file line number Diff line number Diff line change @@ -424,6 +424,12 @@ def test_delete_file(self):
424424 pto .apply (strip = 0 , root = treeroot )
425425 self .assertFalse (os .path .exists (os .path .join (treeroot , 'deleted' )))
426426
427+ def test_fuzzy_patch (self ):
428+ treeroot = join (self .tmpdir , 'rootparent' )
429+ shutil .copytree (join (TESTS , '10fuzzy' ), treeroot )
430+ pto = patch_ng .fromfile (join (TESTS , '10fuzzy/10fuzzy.patch' ))
431+ self .assertTrue (pto .apply (root = treeroot ))
432+
427433
428434class TestHelpers (unittest .TestCase ):
429435 # unittest setting
You can’t perform that action at this time.
0 commit comments