behavior on windows actually changed to not mess with path separator, that's a good thing

This commit is contained in:
Devyn Cairns 2024-06-24 16:05:45 -07:00
parent 9665657038
commit 4a01a38341

View File

@ -627,7 +627,7 @@ mod test {
assert_eq!(actual, expected);
let actual = expand_glob("./a.txt", cwd, Span::unknown(), &None).unwrap();
let expected: Vec<OsString> = vec![Path::new(".").join("a.txt").into()];
let expected = &["./a.txt"];
assert_eq!(actual, expected);
let actual = expand_glob("[*.txt", cwd, Span::unknown(), &None).unwrap();