Mercurial > public > mercurial-scm > hg-stable
diff tests/test-simplemerge.py @ 4516:96d8a56d4ef9
Removed trailing whitespace and tabs from python files
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 06 Jun 2007 20:22:52 +0200 |
parents | 2e3c54fb79a3 |
children | ff7253a0d1da |
line wrap: on
line diff
--- a/tests/test-simplemerge.py Wed Jun 06 20:17:03 2007 +0200 +++ b/tests/test-simplemerge.py Wed Jun 06 20:22:52 2007 +0200 @@ -38,7 +38,7 @@ # common base TZU = split_lines(""" The Nameless is the origin of Heaven and Earth; The named is the mother of all things. - + Therefore let there always be non-being, so we may see their subtlety, And let there always be being, @@ -69,7 +69,7 @@ The name that can be named is not the eternal name. The Nameless is the origin of Heaven and Earth; The named is the mother of all things. - + Therefore let there always be non-being, so we may see their subtlety, And let there always be being, @@ -77,7 +77,7 @@ The two are the same, But after they are produced, they have different names. - + -- The Way of Lao-Tzu, tr. Wing-tsit Chan """) @@ -95,7 +95,7 @@ they have different names. <<<<<<< LAO ======= - + -- The Way of Lao-Tzu, tr. Wing-tsit Chan >>>>>>> TAO @@ -144,7 +144,7 @@ self.assertEquals(list(m3.merge_groups()), [('a', ['aaa', 'bbb']), ('unchanged', ['zz'])]) - + def test_null_insert(self): m3 = Merge3([], ['aaa', 'bbb'], @@ -235,7 +235,7 @@ mid_marker='--', end_marker='>>') self.assertEquals(''.join(ml), 'aaa\n222\nbbb\n') - + def test_insert_clash(self): """Both try to insert lines in the same place.""" @@ -370,7 +370,7 @@ this_text = ("a\n"*10+"b\n" * 10).splitlines(True) other_text = ("a\n"*10+"c\n"+"b\n" * 8 + "c\n").splitlines(True) m3 = Merge3(base_text, other_text, this_text) - m_lines = m3.merge_lines('OTHER', 'THIS', reprocess=True, + m_lines = m3.merge_lines('OTHER', 'THIS', reprocess=True, base_marker='|||||||') self.assertRaises(CantReprocessAndShowBase, list, m_lines)