summaryrefslogtreecommitdiffstats
path: root/app/email_batching_test.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-10-30 11:57:24 -0500
committerGitHub <noreply@github.com>2017-10-30 11:57:24 -0500
commitc5e8cb25caa39ed018ede5270e1566e8f7448396 (patch)
tree80f9f8957d4ff8458ecf9631135c916df25544bd /app/email_batching_test.go
parent63df41b91110bac06baffef87fe0c1952b47ac93 (diff)
downloadchat-c5e8cb25caa39ed018ede5270e1566e8f7448396.tar.gz
chat-c5e8cb25caa39ed018ede5270e1566e8f7448396.tar.bz2
chat-c5e8cb25caa39ed018ede5270e1566e8f7448396.zip
simplify things (#7735)
Diffstat (limited to 'app/email_batching_test.go')
-rw-r--r--app/email_batching_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/email_batching_test.go b/app/email_batching_test.go
index 4ebccf334..ef06cc299 100644
--- a/app/email_batching_test.go
+++ b/app/email_batching_test.go
@@ -184,7 +184,7 @@ func TestCheckPendingNotifications(t *testing.T) {
if post.Message != "post1" {
t.Fatal("should've received post1 first")
}
- case _ = <-timeout:
+ case <-timeout:
t.Fatal("timed out waiting for first post notification")
}
@@ -193,7 +193,7 @@ func TestCheckPendingNotifications(t *testing.T) {
if post.Message != "post2" {
t.Fatal("should've received post2 second")
}
- case _ = <-timeout:
+ case <-timeout:
t.Fatal("timed out waiting for second post notification")
}
}