Skip to content

Commit

Permalink
Updated UnitTest name.
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-pandey committed Dec 5, 2018
1 parent ca681a8 commit 744283d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
public class LongestSubstringNonRepeatingCharactersTest {

@Test
void givenString_whenGetUniqueCharacterSubstringBruteForceCalled_thenResultFoundAsExpected() {
void givenString_whenGetUniqueCharacterSubstringBruteForceCalled_thenResultFoundAsExpectedUnitTest() {
assertEquals("", getUniqueCharacterSubstringBruteForce(""));
assertEquals("A", getUniqueCharacterSubstringBruteForce("A"));
assertEquals("ABCDEF", getUniqueCharacterSubstringBruteForce("AABCDEF"));
Expand All @@ -19,7 +19,7 @@ void givenString_whenGetUniqueCharacterSubstringBruteForceCalled_thenResultFound
}

@Test
void givenString_whenGetUniqueCharacterSubstringCalled_thenResultFoundAsExpected() {
void givenString_whenGetUniqueCharacterSubstringCalled_thenResultFoundAsExpectedUnitTest() {
assertEquals("", getUniqueCharacterSubstring(""));
assertEquals("A", getUniqueCharacterSubstring("A"));
assertEquals("ABCDEF", getUniqueCharacterSubstring("AABCDEF"));
Expand Down

0 comments on commit 744283d

Please sign in to comment.