diff --git a/cue-test.py b/cue-test.py index 88311e4..d973792 100644 --- a/cue-test.py +++ b/cue-test.py @@ -863,7 +863,8 @@ class TestHooks(unittest.TestCase): pass with open(self.bla_file, 'w') as f: f.write('''LINE1=YES -LINE2=NO''') +LINE2=NO +''') def test_patchfile(self): hook = os.path.join(builddir, 'test.patch') diff --git a/test.patch b/test.patch index 3f42371..51a166f 100644 --- a/test.patch +++ b/test.patch @@ -1,7 +1,7 @@ diff -ruN a/bla.txt b/bla.txt --- a/bla.txt 2020-06-19 18:54:43.129076711 +0200 +++ b/bla.txt 2020-06-19 18:55:05.093948316 +0200 -@@ -1,3 +1,3 @@ +@@ -1,2 +1,2 @@ -LINE1=YES +LINE1=NO LINE2=NO