From 2594e806e98e542a71ba3602a681385c195cad7f Mon Sep 17 00:00:00 2001 From: Doug Black Date: Sat, 29 Mar 2014 23:52:47 -0700 Subject: fix test and remove script directory --- core_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core_test.go') diff --git a/core_test.go b/core_test.go index d0b17e9..2438b98 100644 --- a/core_test.go +++ b/core_test.go @@ -1,7 +1,6 @@ package sleepy import ( - "github.com/dougblack/sleepy" "io/ioutil" "net/http" "net/url" @@ -20,7 +19,7 @@ func TestBasicGet(t *testing.T) { item := new(Item) - var api = sleepy.NewAPI() + var api = NewAPI() api.AddResource(item, "/items", "/bar", "/baz") go api.Start(3000) resp, err := http.Get("http://localhost:3000/items") -- cgit