Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dtomasi committed Nov 20, 2020
1 parent 1248690 commit 246002e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions event_bus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestEventBus_PublishAsync(t *testing.T) {
wg.Add(2)

go func() {
evt :=<- ch1
evt := <-ch1
if evt.Topic != "foo:baz" {
t.Fail()
}
Expand All @@ -55,7 +55,7 @@ func TestEventBus_PublishAsync(t *testing.T) {
}()

go func() {
evt :=<- ch2
evt := <-ch2
if evt.Topic != "foo:baz" {
t.Fail()
}
Expand All @@ -81,7 +81,7 @@ func TestEventBus_Publish(t *testing.T) {
var callCount int

go func() {
evt :=<- ch1
evt := <-ch1
if evt.Topic != "foo:baz" {
t.Fail()
}
Expand All @@ -94,7 +94,7 @@ func TestEventBus_Publish(t *testing.T) {
}()

go func() {
evt :=<- ch2
evt := <-ch2
if evt.Topic != "foo:baz" {
t.Fail()
}
Expand Down

0 comments on commit 246002e

Please sign in to comment.