Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanlott committed May 24, 2023
1 parent 0c009ca commit dfd8b8a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/v5/v5_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import (
var numOps int = 1000
var bufferSize int = 1000

var lastUpdate *Book

func TestListen(t *testing.T) {
ctx := context.Background()

Expand All @@ -36,7 +34,6 @@ func TestListen(t *testing.T) {
go func() {
for update := range out {
log.Printf("[update]: %+v", update)
lastUpdate = update
}
}()

Expand Down Expand Up @@ -98,6 +95,4 @@ func TestListen(t *testing.T) {
}

wg.Wait()

t.Logf("final book: %+v", lastUpdate)
}

0 comments on commit dfd8b8a

Please sign in to comment.