From b0596c8a3c6eb7073750ed07ba862b0ba2d44140 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 26 Jul 2021 19:45:30 -0400 Subject: Rename pitchAccent in source code (#1852) * Rename pitchAccentPosition to pitchAccentDownstepPosition * Rename function * Rename * Rename * pitches => pronunciations --- test/test-japanese-util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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); } } -- cgit v1.2.3