aboutsummaryrefslogtreecommitdiff
path: root/core_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core_test.go')
-rw-r--r--core_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core_test.go b/core_test.go
index 196c52f..d0b17e9 100644
--- a/core_test.go
+++ b/core_test.go
@@ -10,10 +10,10 @@ import (
type Item struct{}
-func (item Item) Get(values url.Values) (int, interface{}) {
+func (item Item) Get(values url.Values, headers http.Header) (int, interface{}, http.Header) {
items := []string{"item1", "item2"}
data := map[string][]string{"items": items}
- return 200, data
+ return 200, data, nil
}
func TestBasicGet(t *testing.T) {
bgstack15