Skip to content

Commit

Permalink
Add stress marks in expected results of phoneme events test
Browse files Browse the repository at this point in the history
  • Loading branch information
rotemdan committed Dec 9, 2024
1 parent 8d342bc commit 7f0f2db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,9 +610,9 @@ test_espeak_ng_phoneme_events(int enabled, int ipa) {
TEST_ASSERT(espeak_ng_Synchronize() == ENS_OK);
if (enabled) {
if (ipa) {
TEST_ASSERT(strncmp(phoneme_events, "t ɛ s t ", sizeof(phoneme_events)) == 0);
TEST_ASSERT(strncmp(phoneme_events, "t ˈɛ s t ", sizeof(phoneme_events)) == 0);
} else {
TEST_ASSERT(strncmp(phoneme_events, "t E s t _: _", sizeof(phoneme_events)) == 0);
TEST_ASSERT(strncmp(phoneme_events, "t 'E s t _: _", sizeof(phoneme_events)) == 0);
}
} else {
TEST_ASSERT(phoneme_events[0] == 0);
Expand Down

0 comments on commit 7f0f2db

Please sign in to comment.