Skip to content

Commit abfc013

Browse files
author
Ev Dolzhenko
committed
Fix test, always rebuild in tests
1 parent 83a51ab commit abfc013

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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)