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>
This commit is contained in:
Marc Khouzam 2020-02-02 15:10:32 -05:00 committed by Marc Khouzam
parent ecc0070417
commit 1897d4d60a

View file

@ -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",