Fix palindrome unit test

One of the test cases was not as described in the test method name. Also corrected formatting in another test case.
This commit is contained in:
Atanas Gegov 2020-04-04 00:57:04 +03:00 committed by GitHub
parent 1cf22480b5
commit 1cca64cc70
1 changed files with 4 additions and 4 deletions

View File

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