test: use filepath.Join for filenames

This commit is contained in:
Will Norris 2020-09-13 23:13:17 -07:00
parent 73f29186a0
commit a53d9d364e
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ func TestCamgetSymlink(t *testing.T) {
if err != nil {
t.Fatalf("os.Readlink(): %v", err)
}
expected := "../a"
expected := filepath.Join("..", "a")
if expected != link {
t.Fatalf("os.Readlink(): Expected: %s, got %s", expected,
link)