~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_config.py

  • Committer: Vincent Ladeuil
  • Date: 2011-12-09 12:04:25 UTC
  • mto: This revision was merged to the branch mainline in revision 6352.
  • Revision ID: v.ladeuil+lp@free.fr-20111209120425-ucpc8l4vjwzrfr7q
Don't accept \n as part of a config option reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
3493
3493
                         (False, ''),],
3494
3494
                        '{foo}{bar}')
3495
3495
 
 
3496
    def test_newline_in_refs_are_not_matched(self):
 
3497
        self.assertRefs([(False, '{\nxx}{xx\n}{{\n}}')], '{\nxx}{xx\n}{{\n}}')
 
3498
 
3496
3499
 
3497
3500
class TestStackExpandOptions(tests.TestCaseWithTransport):
3498
3501