Skip to content

Commit c45d3b3

Browse files
pipeline bug fixing
Signed-off-by: JeevaRamanathan <jeevaramanathan.m@infosys.com>
1 parent 37761cf commit c45d3b3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/test/java/com/thealgorithms/strings/IsogramTest.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.thealgorithms.strings;
22

33
import static org.junit.jupiter.api.Assertions.assertEquals;
4+
import static org.junit.jupiter.api.Assertions.assertTrue;
45

56
import java.util.stream.Stream;
67
import org.junit.jupiter.api.Test;
@@ -72,21 +73,21 @@ void testIsogramByLength(IsogramTestCase testCase) {
7273

7374
@Test
7475
void testNullInputByArray() {
75-
assertEquals(true, Isogram.isIsogramByArray(null));
76+
assertTrue(Isogram.isIsogramByArray(null));
7677
}
7778

7879
@Test
7980
void testNullInputByLength() {
80-
assertEquals(true, Isogram.isIsogramByLength(null));
81+
assertTrue(Isogram.isIsogramByLength(null));
8182
}
8283

8384
@Test
8485
void testEmptyStringByArray() {
85-
assertEquals(true, Isogram.isIsogramByArray(""));
86+
assertTrue(Isogram.isIsogramByArray(""));
8687
}
8788

8889
@Test
8990
void testEmptyStringByLength() {
90-
assertEquals(true, Isogram.isIsogramByLength(""));
91+
assertTrue(Isogram.isIsogramByLength(""));
9192
}
9293
}

0 commit comments

Comments
 (0)