Skip to content

Commit

Permalink
minor fix in tests file
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedAmgd committed Dec 2, 2023
1 parent 7cc5e43 commit c747d63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private void itShouldRemoveHumSuffixFromAWord() {
}

@Test
public void itShouldPerformTashfeerEncryptionOnBannedWordsOnly() {
public void tashfeerBannedWordsShouldPerformTashfeerEncryptionOnBannedWordsOnly() {
String sentence = "جيش العدو يقتل الأطفال";
String result = ArabicServices.tashfeerBannedWords(sentence);
assertNotEquals(sentence, result);
Expand All @@ -255,7 +255,7 @@ public void itShouldPerformTashfeerEncryptionOnBannedWordsOnly() {
}

@Test
public void itShouldNotPerformTashfeerEncryptionOnNonBannedWords() {
public void tashfeerBannedWordsShouldNotPerformTashfeerEncryptionOnNonBannedWords() {
String sentence = "هذه جملة غير مشفرة";
String result = ArabicServices.tashfeerBannedWords(sentence);
assertEquals(sentence, result);
Expand Down

0 comments on commit c747d63

Please sign in to comment.