Skip to content

Commit

Permalink
Fix version test.
Browse files Browse the repository at this point in the history
  • Loading branch information
cscatolini committed Jan 26, 2017
1 parent d844ecb commit 2c7bb37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
. "github.com/topfreegames/pusher/testing"
"github.com/topfreegames/pusher/util"
)

var _ = Describe("Version", func() {
Expand All @@ -34,7 +35,7 @@ var _ = Describe("Version", func() {
out := CaptureStdout(func() {
getVersion()
})
Expect(out).To(Equal("0.2.0"))
Expect(out).To(Equal(util.Version))
})
})
})

0 comments on commit 2c7bb37

Please sign in to comment.