Merge e234c86fc5d6b30e914c323a1de23b410d8118c5 into e899d8a99eac4cfeadbeef09017b304d2b918b85

This commit is contained in:
Nick 2015-05-29 17:02:26 +00:00
commit d9e36d8a2b

View File

@ -148,3 +148,13 @@ func TestNoMethodWithGlobalHandlers(t *testing.T) {
assert.Equal(t, router.allNoMethod[1], middleware1)
assert.Equal(t, router.allNoMethod[2], middleware0)
}
func TestRunTLS(t *testing.T) {
certFile := ""
keyFile := ""
addr := ":5443"
router := New()
err := router.RunTLS(addr, certFile, keyFile)
assert.NotNil(t, err)
}