summaryrefslogtreecommitdiff
path: root/email_test.go
diff options
context:
space:
mode:
authorhorus_arch2015-03-20 01:01:30 +0100
committerhorus_arch2015-03-20 01:01:30 +0100
commit039fb0ce71d132a1dfe93b516bc5953dcb61285e (patch)
tree0680bf2d0d42a7c8f4f5dfe0b579277edfc38198 /email_test.go
parent77b167ceae8904d827571a0ba7bfa13fac28a40e (diff)
downloadfreemail-039fb0ce71d132a1dfe93b516bc5953dcb61285e.tar.gz
Bundling functionality in server.go and improving code flow.
Diffstat (limited to 'email_test.go')
-rw-r--r--email_test.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/email_test.go b/email_test.go
index 431d6e3..1f102ee 100644
--- a/email_test.go
+++ b/email_test.go
@@ -50,10 +50,3 @@ func TestValidateAlias(t *testing.T) {
t.Fatal("'foo' is not a valid alias.")
}
}
-
-func TestGetDomain(t *testing.T) {
- domain := GetDomain("foo@example.org")
- if domain != "example.org" {
- t.Fatal("Can't get the domain from the adress.")
- }
-}