11 lines
154 B
Go
11 lines
154 B
Go
package httpserver
|
|
|
|
import (
|
|
"net/http"
|
|
"testing"
|
|
)
|
|
|
|
func TestHttpServer(t *testing.T) {
|
|
http.ListenAndServe(":89", http.FileServer(http.Dir(`./`)))
|
|
}
|