MCPcopy Create free account
hub / github.com/bufbuild/buf / testExt

Function testExt

private/pkg/normalpath/normalpath_unix_test.go:137–142  ·  view source on GitHub ↗
(t *testing.T, expected string, input string)

Source from the content-addressed store, hash-verified

135}
136
137func 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
144func TestJoin(t *testing.T) {
145 t.Parallel()

Callers 1

TestExtFunction · 0.70

Calls 1

ExtFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…