Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2f484c6

Browse files
author
khangvdv
committed
fix string null: edit arg from intol null
1 parent ce34dc7 commit 2f484c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/ctci/arraysandstrings/IsUniqueTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class IsUniqueTest {
99
@Test
1010
void stringNull(){
1111
IsUnique isUnique = new IsUnique();
12-
assertFalse(isUnique.hasAllUniqueCharacters(""));
12+
assertFalse(isUnique.hasAllUniqueCharacters(null));
1313
}
1414
@Test
1515
void stringWith129Chars(){

0 commit comments

Comments
 (0)