diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-04-30 10:24:00 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-04-30 10:24:00 +0800 |
commit | a85f242030f8fa0d74c9d82485d0649926bc6db4 (patch) | |
tree | 43c7850b7c01c635d36f368c108f6305b10e13f2 /tests/default_test.go | |
parent | cdc843f06b90acf71211a684ba32cd92c765230d (diff) | |
parent | 0d6856dbe73c8041451743946fb324663350a687 (diff) |
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'tests/default_test.go')
-rw-r--r-- | tests/default_test.go | 17 |
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) - } -} |