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/7511/head
Marc Khouzam 6 years ago
parent df20164cd2
commit b9060f6dc4

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

Loading…
Cancel
Save