(t *testing.T)
| 1858 | } |
| 1859 | |
| 1860 | func TestMuxMatch_DoesNotHaveBasePath(t *testing.T) { |
| 1861 | r := NewRouter() |
| 1862 | |
| 1863 | tctx := NewRouteContext() |
| 1864 | |
| 1865 | tctx.Reset() |
| 1866 | if r.Match(tctx, "GET", "/") != false { |
| 1867 | t.Fatal("not expecting to find match for route:", "GET", "/") |
| 1868 | } |
| 1869 | } |
| 1870 | |
| 1871 | func TestMuxFind(t *testing.T) { |
| 1872 | r := NewRouter() |
nothing calls this directly
no test coverage detected