Skip to content

Commit

Permalink
delete test
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Dec 3, 2024
1 parent fb07aff commit 9a803cf
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,4 @@ public void getPlatformDependSeparateListShouldReturnThreeCharactersSeparated()
String result = mojoMock.getPlatformDependSeparateList(Arrays.asList("A", "B", "C"));
assertThat(result).isEqualTo("A" + File.pathSeparatorChar + "B" + File.pathSeparatorChar + "C");
}

@Test
@DisplayName("getCommaSeparatedList() should return a single character")
public void getCommaSeparatedListShouldReturnASingleCharacter() {
String result = String.join( ",", Collections.singletonList( "A" ) );
assertThat(result).isEqualTo("A");
}

@Test
@DisplayName("getCommaSeparatedList() should return two characters separated by comma")
public void getCommaSeparatedListShouldReturnTwoCharactersSeparatedByComma() {
String result = String.join( ",", Arrays.asList( "A", "B" ) );
assertThat(result).isEqualTo("A,B");
}
}

0 comments on commit 9a803cf

Please sign in to comment.