fix(tests): Make tests pass on MacOS

This newly added tests was failing on MacOS because /proc does not
exist.  This commit replaces /proc with /tmp to achieve the same result.

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
pull/7503/head
Marc Khouzam 5 years ago committed by Marc Khouzam
parent ecc0070417
commit 1897d4d60a

@ -227,8 +227,8 @@ func TestGetLocalPath(t *testing.T) {
}{
{
name: "absolute path",
repo: "file:////proc",
expect: "/proc",
repo: "file:////tmp",
expect: "/tmp",
},
{
name: "relative path",

Loading…
Cancel
Save