add some h2quic server tests

fixes #44
This commit is contained in:
Lucas Clemente
2016-05-03 15:14:24 +02:00
parent e3a4d75fc1
commit 745f1d8ed2
2 changed files with 88 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ func NewServer(certPath string) (*Server, error) {
return s, nil
}
//ListenAndServe listens on the network address and calls the handler.
// ListenAndServe listens on the network address and calls the handler.
func (s *Server) ListenAndServe(addr string, handler http.Handler) error {
if handler != nil {
s.handler = handler