Skip to content

Commit

Permalink
Adding .nte to .net suggestion Fix #32
Browse files Browse the repository at this point in the history
  • Loading branch information
rocboronat committed Sep 15, 2015
1 parent 2be1b69 commit b591b34
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ public class EmailSuggester {
new EmailCorrection(".comm", DOTCOM),
new EmailCorrection(".cxom", DOTCOM),
new EmailCorrection(".coml", DOTCOM),
new EmailCorrection(".ney", DOTNET)
new EmailCorrection(".ney", DOTNET),
new EmailCorrection(".nte", DOTNET)
);

public List<EmailCorrection> domainCorrections = Arrays.asList(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,9 @@ public void shouldFixYcomIssue() throws InvalidEmailException {
public void shouldFixZcomIssue() throws InvalidEmailException {
assertEquals("[email protected]", es.getSuggestedEmail("[email protected]"));
}

@Test
public void shouldFixNteIssue() throws InvalidEmailException {
assertEquals("[email protected]", es.getSuggestedEmail("[email protected]"));
}
}

0 comments on commit b591b34

Please sign in to comment.