aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-01-26 09:31:03 -0800
committerDoug Black <dblack@twilio.com>2014-01-26 09:31:03 -0800
commitf20e28cf6057f85316d3241346d88f500cca2adc (patch)
tree61af163ad2588e6c8d24d6286646c16aeaae3aa8 /tests
parentcleaner (diff)
downloadsleepy-f20e28cf6057f85316d3241346d88f500cca2adc.tar.gz
sleepy-f20e28cf6057f85316d3241346d88f500cca2adc.tar.bz2
sleepy-f20e28cf6057f85316d3241346d88f500cca2adc.zip
fixes from comments
Diffstat (limited to 'tests')
-rw-r--r--tests/items.go2
-rw-r--r--tests/test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/items.go b/tests/items.go
index ee86c3e..d39cae9 100644
--- a/tests/items.go
+++ b/tests/items.go
@@ -11,7 +11,7 @@ type Item struct {
sleepy.DeleteNotSupported
}
-func (item Item) Get(values ...url.Values) (int, interface{}) {
+func (item Item) Get(values url.Values) (int, interface{}) {
items := []string{"item1", "item2"}
data := map[string][]string{"items": items}
diff --git a/tests/test.go b/tests/test.go
index d225072..070d4b6 100644
--- a/tests/test.go
+++ b/tests/test.go
@@ -11,7 +11,7 @@ type Bar struct {
sleepy.DeleteNotSupported
}
-func (b Bar) Get(values ...url.Values) (int, interface{}) {
+func (b Bar) Get(values url.Values) (int, interface{}) {
return 200, map[string]string{"hello": "goodbye"}
}
bgstack15