diff options
| author | Armin Ronacher <armin.ronacher@active-4.com> | 2011-09-22 11:17:18 +0200 |
|---|---|---|
| committer | Armin Ronacher <armin.ronacher@active-4.com> | 2011-09-22 11:17:18 +0200 |
| commit | 91e0bf99abb0ebe896ecc4e26951f857f87076ee (patch) | |
| tree | cb9478f182c483b1da911b2e5d6e538275ff7dfa /tests/test_cpp_domain.py | |
| parent | e18d423f0adac717d8e6a8d6ed9fad5bca7f0933 (diff) | |
| download | sphinx-91e0bf99abb0ebe896ecc4e26951f857f87076ee.tar.gz | |
Added support for strings with commas in template definitions.
Diffstat (limited to 'tests/test_cpp_domain.py')
| -rw-r--r-- | tests/test_cpp_domain.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_cpp_domain.py b/tests/test_cpp_domain.py index 61ad91e7..30cdb69e 100644 --- a/tests/test_cpp_domain.py +++ b/tests/test_cpp_domain.py @@ -28,6 +28,9 @@ def test_type_definitions(): x = 'void operator()(const boost::array<VertexID, 2>& v) const' assert unicode(parse('function', x)) == x + x = 'void operator()(const boost::array<VertexID, 2, "foo, bar">& v) const' + assert unicode(parse('function', x)) == x + rv = parse('member_object', 'const std::vector< unsigned int, long> &name') assert unicode(rv) == 'const std::vector<unsigned int, long>& name' |
