MoreThanText proxy server.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
295 B

// morethantext/proxy/router_test.go
package proxy
import (
"testing"
)
func TestNewRouter(t *testing.T) {
router := newRouter()
if router == nil {
t.Error("newRouter did not return a valid router.")
}
}
func TestLoadProxy(t *testing.T) {
router := newRouter()
router.loadRoutes()
}