aboutsummaryrefslogtreecommitdiff
path: root/tests/default_test.go
diff options
context:
space:
mode:
authorzhsso <zhssoge@gmail.com>2014-04-10 14:20:01 -0400
committerzhsso <zhssoge@gmail.com>2014-04-10 14:20:01 -0400
commitf3ed11d177d76bcb1850c6670c1516d25a66eb2c (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /tests/default_test.go
parentfde5b16332d5c4dc8246b899cd42d58b058f2bed (diff)
mistakes
Diffstat (limited to 'tests/default_test.go')
-rw-r--r--tests/default_test.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/default_test.go b/tests/default_test.go
deleted file mode 100644
index d6f3a03b..00000000
--- a/tests/default_test.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package test
-
-import (
- "net/http"
- "testing"
-)
-
-func TestMain(t *testing.T) {
- r, err := http.Get("http://localhost:3000/")
- if err != nil {
- t.Fatal(err)
- }
- defer r.Body.Close()
- if r.StatusCode != http.StatusOK {
- t.Error(r.StatusCode)
- }
-}