Skip to content

Commit

Permalink
Fix e2etest assertion error
Browse files Browse the repository at this point in the history
  • Loading branch information
armsnyder committed Nov 6, 2020
1 parent 1b758cb commit 2621d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/server_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var _ = Describe("Server", func() {
When("new game starts", func() {
It("should send a new game board", func(done Done) {
newGameBoard := buildBoard([]move{{3, 3}, {4, 4}}, []move{{3, 4}, {4, 3}})
Expect(receiveMessage).To(Equal(common.NewUpdateBoardMessage(newGameBoard, 1)))
Expect(receiveMessage()).To(Equal(common.NewUpdateBoardMessage(newGameBoard, 1)))
close(done)
})
})
Expand Down

0 comments on commit 2621d0e

Please sign in to comment.