Fix #6230: Inappropriate node_id has been generated by glossary directive

This commit is contained in:
Takeshi KOMIYA
2019-03-31 16:14:51 +09:00
parent 3f8a336d3a
commit cda4642bc1
3 changed files with 9 additions and 1 deletions

View File

@@ -120,4 +120,4 @@ def test_create_index_by_key(app):
assert len(index) == 3
assert index[0] == ('D', [('docutils', [[('main', '#term-docutils')], [], None])])
assert index[1] == ('P', [('Python', [[('main', '#term-python')], [], None])])
assert index[2] == ('', [('スフィンクス', [[('main', '#term')], [], ''])])
assert index[2] == ('', [('スフィンクス', [[('main', '#term-2')], [], ''])])