mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Determine search language in builder, and add missing method in websupport indexer implementations.
This commit is contained in:
@@ -36,7 +36,7 @@ def test_wordcollector():
|
||||
doc['file'] = 'dummy'
|
||||
parser.parse(FILE_CONTENTS, doc)
|
||||
|
||||
ix = IndexBuilder(None)
|
||||
ix = IndexBuilder(None, 'en', {})
|
||||
ix.feed('filename', 'title', doc)
|
||||
assert 'boson' not in ix._mapping
|
||||
assert 'fermion' in ix._mapping
|
||||
|
||||
Reference in New Issue
Block a user