Leon 5 years ago
parent
commit
10ac76ad0e

+ 1
- 1
src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/HasDuplicateConsecutiveCharactersTest.java View File

8
     @Test
8
     @Test
9
     public void test1() {
9
     public void test1() {
10
         String input = "Happy";
10
         String input = "Happy";
11
-        Assert.assertFalse(StringUtils.hasDuplicateConsecutiveCharacters(input));
11
+        Assert.assertTrue(StringUtils.hasDuplicateConsecutiveCharacters(input));
12
     }
12
     }
13
 
13
 
14
     @Test
14
     @Test