diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-07-26 19:45:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 19:45:30 -0400 |
commit | b0596c8a3c6eb7073750ed07ba862b0ba2d44140 (patch) | |
tree | 71df0f7b1a70a7495bc41a28bdf24d4cac4ff5db /test | |
parent | a9710b8acf6370f229098b172eb2a3aa65ae5dc7 (diff) |
Rename pitchAccent in source code (#1852)
* Rename pitchAccentPosition to pitchAccentDownstepPosition
* Rename function
* Rename
* Rename
* pitches => pronunciations
Diffstat (limited to 'test')
-rw-r--r-- | test/test-japanese-util.js | 4 |
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); } } |