mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
Unexport filepath/path bridge types
They are of no use outside the helpers package. See #1160
This commit is contained in:
@@ -535,7 +535,7 @@ func TestFileAndExt(t *testing.T) {
|
||||
}
|
||||
|
||||
for i, d := range data {
|
||||
file, ext := FileAndExt(filepath.FromSlash(d.input), filepathBridge)
|
||||
file, ext := FileAndExt(filepath.FromSlash(d.input), fpb)
|
||||
if d.expectedFile != file {
|
||||
t.Errorf("Test %d failed. Expected filename %q got %q.", i, d.expectedFile, file)
|
||||
}
|
||||
|
Reference in New Issue
Block a user