Merge pull request #9026 from atanasg/patch-1

Fix palindrome unit test
This commit is contained in:
Loredana Crusoveanu 2020-05-24 15:03:02 +03:00 committed by GitHub
commit b482fdf9a6
1 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ public class PalindromeUnitTest {
@Test @Test
public void whenEmptyString_thanAccept() { public void whenEmptyString_thanAccept() {
Palindrome palindromeTester = new Palindrome(); Palindrome palindromeTester = new Palindrome();
assertTrue(palindromeTester.isPalindrome("noon")); assertTrue(palindromeTester.isPalindrome(""));
} }
@Test @Test