aboutsummaryrefslogtreecommitdiff
path: root/core_test.go
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-03-29 23:28:06 -0700
committerDoug Black <dblack@twilio.com>2014-03-29 23:28:06 -0700
commitbe672ad54adc7226d2cde7469236b707dc5971ff (patch)
treedf57414975c80fa32eb80c6da79c2c7e926d0059 /core_test.go
parentupdate README (diff)
downloadsleepy-be672ad54adc7226d2cde7469236b707dc5971ff.tar.gz
sleepy-be672ad54adc7226d2cde7469236b707dc5971ff.tar.bz2
sleepy-be672ad54adc7226d2cde7469236b707dc5971ff.zip
add header to core_test
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