-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding some suggestions based in real fails and their tests
- Loading branch information
1 parent
cd21edf
commit d07955e
Showing
2 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -306,4 +306,39 @@ public void shouldFixZcomIssue() throws InvalidEmailException { | |
public void shouldFixNteIssue() throws InvalidEmailException { | ||
assertEquals("[email protected]", es.getSuggestedEmail("[email protected]")); | ||
} | ||
|
||
@Test | ||
public void shouldFixOutilookDotCom() throws InvalidEmailException { | ||
assertEquals("[email protected]", es.getSuggestedEmail("[email protected]")); | ||
} | ||
|
||
@Test | ||
public void shouldFixGmailDotComu() throws InvalidEmailException { | ||
assertEquals("[email protected]", es.getSuggestedEmail("[email protected]")); | ||
} | ||
|
||
@Test | ||
public void shouldFixHotnailDotCom() throws InvalidEmailException { | ||
assertEquals("[email protected]", es.getSuggestedEmail("[email protected]")); | ||
} | ||
|
||
@Test | ||
public void shouldFixHormailDotCom() throws InvalidEmailException { | ||
assertEquals("[email protected]", es.getSuggestedEmail("[email protected]")); | ||
} | ||
|
||
@Test | ||
public void shouldReplaceFtToFr() throws InvalidEmailException { | ||
assertEquals("[email protected]", es.getSuggestedEmail("[email protected]")); | ||
} | ||
|
||
@Test | ||
public void shouldFixGmaikDotCom() throws InvalidEmailException { | ||
assertEquals("[email protected]", es.getSuggestedEmail("[email protected]")); | ||
} | ||
|
||
@Test | ||
public void shouldFixYahou() throws InvalidEmailException { | ||
assertEquals("[email protected]", es.getSuggestedEmail("[email protected]")); | ||
} | ||
} |