Fix #7301: capital characters are not allowed for node_id

This commit is contained in:
Takeshi KOMIYA
2020-03-25 01:43:23 +09:00
parent 70c61e44c3
commit 7aa5584a47
10 changed files with 76 additions and 75 deletions

View File

@@ -161,5 +161,5 @@ def test_create_index_by_key(app):
index = IndexEntries(app.env).create_index(app.builder)
assert len(index) == 3
assert index[0] == ('D', [('docutils', [[('main', '#term-docutils')], [], None])])
assert index[1] == ('P', [('Python', [[('main', '#term-python')], [], None])])
assert index[1] == ('P', [('Python', [[('main', '#term-Python')], [], None])])
assert index[2] == ('', [('スフィンクス', [[('main', '#term-0')], [], ''])])