| Index: tests/patch_test.py
|
| diff --git a/tests/patch_test.py b/tests/patch_test.py
|
| index 945d5d5e00c1fada2fccb08afade1477c19a3243..4ca45e7e5d630417582741a9c29f96b9c7d90e28 100755
|
| --- a/tests/patch_test.py
|
| +++ b/tests/patch_test.py
|
| @@ -393,6 +393,18 @@ class PatchTest(unittest.TestCase):
|
| p = patch.FilePatchDiff('wtf2', diff, [])
|
| self.assertTrue(p)
|
|
|
| + def testGitExe(self):
|
| + diff = (
|
| + 'diff --git a/natsort_test.py b/natsort_test.py\n'
|
| + 'new file mode 100755\n'
|
| + '--- /dev/null\n'
|
| + '+++ b/natsort_test.py\n'
|
| + '@@ -0,0 +1,1 @@\n'
|
| + '+#!/usr/bin/env python\n')
|
| + self.assertEquals(
|
| + [('svn:executable', '*')],
|
| + patch.FilePatchDiff('natsort_test.py', diff, []).svn_properties)
|
| +
|
|
|
| if __name__ == '__main__':
|
| unittest.main()
|
|
|