Skip to content

Commit

Permalink
Fix test, always rebuild in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ev Dolzhenko committed Oct 26, 2016
1 parent 83a51ab commit abfc013
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
@@ -1,7 +1,7 @@
default: vet test

test:
go test ./...
go test -a ./...

bench:
go test ./... -bench=. -run=NONE
Expand Down
4 changes: 3 additions & 1 deletion native_test.go
@@ -1,6 +1,8 @@
package openrtb

import (
"encoding/json"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand All @@ -15,7 +17,7 @@ var _ = Describe("Native", func() {

It("should parse correctly", func() {
Expect(subject).To(Equal(&Native{
Request: "PAYLOAD",
Request: json.RawMessage(`"PAYLOAD"`),
Ver: "2",
}))
})
Expand Down

0 comments on commit abfc013

Please sign in to comment.