Ignore:
Timestamp:
31-03-08 16:22:26 (5 years ago)
Author:
thomas
Message:
  • moap/test/test_util_ctags.py:
  • moap/util/ctags.py: Allow spaces in the first column of a ctags file. Fixes #281.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/moap/test/test_util_ctags.py

    r214 r336  
    2222        self.assertEquals(self.tag.language, 'Python') 
    2323        self.assertEquals(self.tag.klazz, 'CVS') 
     24 
     25    def test281(self): 
     26        # in moap.util.ctags, the tagMatcher originally had non-spaces for 
     27        # the first column; ticket 281 has a space in the first column. 
     28        self.tag.parse('line operator =\t/home/murrayc/svn/gnome220/branches/glom-1-6/glom/libglom/data_structure/field.cc\t/^Field& Field::operator=(const Field& src)$/;"\tf\tline:58\tlanguage:C++\tclass:Glom::Field\tsignature:(const Field& src)') 
    2429 
    2530class TestCTags(unittest.TestCase): 
Note: See TracChangeset for help on using the changeset viewer.