Skip to content

Commit 4b2843e

Browse files
authored
Merge pull request #24 from dolzenko/minor2
Fix test, always rebuild in tests
2 parents 83a51ab + ba4168d commit 4b2843e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: go
22
sudo: false
33
go:
4-
- 1.5
54
- 1.6
65
- 1.7
76
install:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
default: vet test
22

33
test:
4-
go test ./...
4+
go test -a ./...
55

66
bench:
77
go test ./... -bench=. -run=NONE

native_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package openrtb
22

33
import (
4+
"encoding/json"
5+
46
. "github.com/onsi/ginkgo"
57
. "github.com/onsi/gomega"
68
)
@@ -15,7 +17,7 @@ var _ = Describe("Native", func() {
1517

1618
It("should parse correctly", func() {
1719
Expect(subject).To(Equal(&Native{
18-
Request: "PAYLOAD",
20+
Request: json.RawMessage(`"PAYLOAD"`),
1921
Ver: "2",
2022
}))
2123
})

0 commit comments

Comments
 (0)