diff options
author | bep <[email protected]> | 2015-05-25 13:10:26 +0200 |
---|---|---|
committer | bep <[email protected]> | 2015-05-25 13:10:40 +0200 |
commit | beee679dfbdeadc61af1705b860283875a9fd696 (patch) | |
tree | 84f71f90df20b7b92f5293fe1191e377810686bc /helpers/path_test.go | |
parent | be79c35bda0154e36d3bc60e8f7bb00d17952e05 (diff) | |
download | hugo-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.go | 2 |
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) } |