diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test-deinflector.js | 2 | ||||
-rw-r--r-- | test/test-translator.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test-deinflector.js b/test/test-deinflector.js index 6ab00a94..dbc1f7e2 100644 --- a/test/test-deinflector.js +++ b/test/test-deinflector.js @@ -884,7 +884,7 @@ function testDeinflections() { vm.execute(['bg/js/deinflector.js']); const [Deinflector] = vm.get(['Deinflector']); - const deinflectionReasions = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'ext', 'bg/lang/deinflect.json'))); + const deinflectionReasions = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'ext', 'data/deinflect.json'))); const deinflector = new Deinflector(deinflectionReasions); for (const {valid, tests} of data) { diff --git a/test/test-translator.js b/test/test-translator.js index cee7fe16..778a7ce1 100644 --- a/test/test-translator.js +++ b/test/test-translator.js @@ -81,7 +81,7 @@ async function createVM() { // Setup translator const japaneseUtil = new JapaneseUtil(null); const translator = new Translator({japaneseUtil, database: dictionaryDatabase}); - const deinflectionReasions = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'ext', 'bg/lang/deinflect.json'))); + const deinflectionReasions = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'ext', 'data/deinflect.json'))); translator.prepare(deinflectionReasions); // Done |