aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-japanese-util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-japanese-util.js b/test/test-japanese-util.js
index bfeac4f5..48dc9af7 100644
--- a/test/test-japanese-util.js
+++ b/test/test-japanese-util.js
@@ -811,8 +811,8 @@ function testIsMoraPitchHigh() {
[[3, 4], true]
];
- for (const [[moraIndex, pitchAccentPosition], expected] of data) {
- const actual = jp.isMoraPitchHigh(moraIndex, pitchAccentPosition);
+ for (const [[moraIndex, pitchAccentDownstepPosition], expected] of data) {
+ const actual = jp.isMoraPitchHigh(moraIndex, pitchAccentDownstepPosition);
assert.strictEqual(actual, expected);
}
}