(b *testing.B)
| 92 | } |
| 93 | |
| 94 | func BenchmarkPathClean(b *testing.B) { |
| 95 | b.ReportAllocs() |
| 96 | |
| 97 | for b.Loop() { |
| 98 | for _, test := range cleanTests { |
| 99 | cleanPath(test.path) |
| 100 | } |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | func genLongPaths() (testPaths []cleanPathTest) { |
| 105 | for i := 1; i <= 1234; i++ { |
nothing calls this directly
no test coverage detected