Skip to content

Commit 47b3745

Browse files
committed
Fixed build
1 parent 65ff121 commit 47b3745

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mock.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type MockQuery struct {
4848

4949
func newMockQuery(parent *Mock, q Query) *MockQuery {
5050
// Build and marshal term
51-
builtQuery, err := json.Marshal(q.build())
51+
builtQuery, err := json.Marshal(q.Build())
5252
if err != nil {
5353
panic(fmt.Sprintf("Failed to build query: %s", err))
5454
}
@@ -329,7 +329,7 @@ func (m *Mock) newQuery(t Term, opts map[string]interface{}) (Query, error) {
329329

330330
func (m *Mock) findExpectedQuery(q Query) (int, *MockQuery) {
331331
// Build and marshal query
332-
builtQuery, err := json.Marshal(q.build())
332+
builtQuery, err := json.Marshal(q.Build())
333333
if err != nil {
334334
panic(fmt.Sprintf("Failed to build query: %s", err))
335335
}

0 commit comments

Comments
 (0)