Skip to content

Commit 87a4d46

Browse files
committed
Add failing test
1 parent 742344b commit 87a4d46

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/fs.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,16 @@ mod tests {
400400
"virtualSegments": ["b/__virtual__/foo-abcdef/1/c/foo.zip", "c/foo.zip"],
401401
"zipPath": "bar"
402402
}],
403+
["/a/b/__virtual__/foo-abcdef/1/c/foo.zip/bar", {
404+
"basePath": "/a",
405+
"virtualSegments": ["b/__virtual__/foo-abcdef/1/c/foo.zip", "c/foo.zip"],
406+
"zipPath": "bar"
407+
}],
408+
["/a/b/__virtual__/foo-abcdef/2/c/foo.zip/bar", {
409+
"basePath": "/",
410+
"virtualSegments": ["a/b/__virtual__/foo-abcdef/2/c/foo.zip", "c/foo.zip"],
411+
"zipPath": "bar"
412+
}],
403413
["./a/b/c/.zip", null],
404414
["./a/b/c/foo.zipp", null],
405415
["./a/b/c/foo.zip/bar/baz/qux.zip", {

0 commit comments

Comments
 (0)