From a53d9d364ee70f75359fe533ba14db6ae7ecd355 Mon Sep 17 00:00:00 2001 From: Will Norris Date: Sun, 13 Sep 2020 23:13:17 -0700 Subject: [PATCH] test: use filepath.Join for filenames --- pkg/test/integration/camget_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/test/integration/camget_test.go b/pkg/test/integration/camget_test.go index 4b36712a2..8eb62fa04 100644 --- a/pkg/test/integration/camget_test.go +++ b/pkg/test/integration/camget_test.go @@ -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)