summaryrefslogtreecommitdiffstats
path: root/helpers/path_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-03-23 10:03:29 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-03-23 10:03:29 +0100
commit8a60571fd2bd95f77c25d50daf285196e91a266a (patch)
treed64359774f03dcab68da0d50d49976327643a658 /helpers/path_test.go
parent6ff2e1dbe7f84c14f7a15b86db0990991eb3a906 (diff)
helpers: Fix and add Godoc in path*
Diffstat (limited to 'helpers/path_test.go')
-rw-r--r--helpers/path_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/path_test.go b/helpers/path_test.go
index 1806cc2e0..a1769f1da 100644
--- a/helpers/path_test.go
+++ b/helpers/path_test.go
@@ -152,12 +152,12 @@ func TestMakePathRelative(t *testing.T) {
}
for i, d := range data {
- output, _ := MakePathRelative(d.inPath, d.path1, d.path2)
+ output, _ := makePathRelative(d.inPath, d.path1, d.path2)
if d.output != output {
t.Errorf("Test #%d failed. Expected %q got %q", i, d.output, output)
}
}
- _, error := MakePathRelative("a/b/c.ss", "/a/c", "/d/c", "/e/f")
+ _, error := makePathRelative("a/b/c.ss", "/a/c", "/d/c", "/e/f")
if error == nil {
t.Errorf("Test failed, expected error")