aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.go b/tests/test.go
index b36cdb6..fededa1 100644
--- a/tests/test.go
+++ b/tests/test.go
@@ -18,7 +18,7 @@ func main() {
item := new(Item)
- var api = new(sleepy.API)
+ var api = sleepy.NewAPI()
api.AddResource(item, "/items")
api.Start(3000)
bgstack15