(t *testing.T, expected string, input string)
| 135 | } |
| 136 | |
| 137 | func testExt(t *testing.T, expected string, input string) { |
| 138 | if os.PathSeparator == '/' { |
| 139 | assert.Equal(t, expected, filepath.Ext(input)) |
| 140 | } |
| 141 | assert.Equal(t, expected, Ext(input)) |
| 142 | } |
| 143 | |
| 144 | func TestJoin(t *testing.T) { |
| 145 | t.Parallel() |