aboutsummaryrefslogtreecommitdiffhomepage
path: root/helpers/path_test.go
diff options
context:
space:
mode:
authorbep <[email protected]>2015-05-25 13:10:26 +0200
committerbep <[email protected]>2015-05-25 13:10:40 +0200
commitbeee679dfbdeadc61af1705b860283875a9fd696 (patch)
tree84f71f90df20b7b92f5293fe1191e377810686bc /helpers/path_test.go
parentbe79c35bda0154e36d3bc60e8f7bb00d17952e05 (diff)
downloadhugo-beee679dfbdeadc61af1705b860283875a9fd696.tar.gz
hugo-beee679dfbdeadc61af1705b860283875a9fd696.zip
Unexport filepath/path bridge types
They are of no use outside the helpers package. See #1160
Diffstat (limited to 'helpers/path_test.go')
-rw-r--r--helpers/path_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/path_test.go b/helpers/path_test.go
index 356fb4c91..c9b4beac1 100644
--- a/helpers/path_test.go
+++ b/helpers/path_test.go
@@ -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)
}