mirror of https://github.com/perkeep/perkeep.git
test: use filepath.Join for filenames
This commit is contained in:
parent
73f29186a0
commit
a53d9d364e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue