added parent path test to windows examples

This commit is contained in:
Vivek 2025-01-29 20:25:40 -06:00
parent 2c814a43c3
commit 4a06821a5e

View File

@ -113,6 +113,12 @@ path."#
example: r"'eggs\bacon\sausage\spam' | path relative-to 'eggs\bacon\sausage'",
result: Some(Value::test_string(r"spam")),
},
Example {
description: "Find a relative path that requires parent directory symbols",
example: r"'a\b\c' | path relative-to 'a\d\e'",
result: Some(Value::test_string(r"..\..\b\c")),
},
]
}