aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-06-10 10:01:09 +0900
committerGitHub <noreply@github.com>2023-06-10 10:01:09 +0900
commitf85bae93867aa15e081b930f39da952f1b4e3408 (patch)
treeb1e5f68b02a715c891f321baf59b51b49ae06e2e /test
parent145628c8aa3a28b3f267d2c1c75def0ec2942d4e (diff)
parent659baf9afd76ce14e95ad0c0f14765cb4ba99652 (diff)
Merge pull request #170 from Aquafina-water-bottle/test_deflector_typo
fix: typo
Diffstat (limited to 'test')
-rw-r--r--test/test-deinflector.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-deinflector.js b/test/test-deinflector.js
index ea8af292..a20cfc95 100644
--- a/test/test-deinflector.js
+++ b/test/test-deinflector.js
@@ -921,8 +921,8 @@ function testDeinflections() {
vm.execute(['js/language/deinflector.js']);
const [Deinflector] = vm.get(['Deinflector']);
- const deinflectionReasions = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'ext', 'data/deinflect.json')));
- const deinflector = new Deinflector(deinflectionReasions);
+ const deinflectionReasons = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'ext', 'data/deinflect.json')));
+ const deinflector = new Deinflector(deinflectionReasons);
for (const {valid, tests} of data) {
for (const {source, term, rule, reasons} of tests) {