From 8a60571fd2bd95f77c25d50daf285196e91a266a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 23 Mar 2016 10:03:29 +0100 Subject: helpers: Fix and add Godoc in path* --- helpers/path_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helpers/path_test.go') 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") -- cgit v1.2.3