Unexport FileAndExt

If needed outside helpers, create an exported file path (FilePathAndExt?)  and/or a url version.
This commit is contained in:
Bjørn Erik Pedersen 2015-08-26 21:29:32 +02:00
parent fd2fc1d3ce
commit 5b90b388cb
3 changed files with 6 additions and 6 deletions

View file

@ -540,7 +540,7 @@ func TestFileAndExt(t *testing.T) {
}
for i, d := range data {
file, ext := FileAndExt(filepath.FromSlash(d.input), fpb)
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)
}