(t *testing.T)
| 194 | } |
| 195 | |
| 196 | func TestRoutes_Clone(t *testing.T) { |
| 197 | org := exampleRoutes() |
| 198 | cloned := org.Clone() |
| 199 | |
| 200 | assert.Equal(t, org, cloned) |
| 201 | |
| 202 | org[1].Path = "r1" |
| 203 | org[1].Parameters[0] = "p0" |
| 204 | |
| 205 | assert.NotEqual(t, org, cloned) |
| 206 | } |
| 207 | |
| 208 | func TestRoutes_FindByMethodPath(t *testing.T) { |
| 209 | var testCases = []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…