behavior on windows actually changed to not mess with path separator, that's a good thing
This commit is contained in:
parent
9665657038
commit
4a01a38341
|
@ -627,7 +627,7 @@ mod test {
|
||||||
assert_eq!(actual, expected);
|
assert_eq!(actual, expected);
|
||||||
|
|
||||||
let actual = expand_glob("./a.txt", cwd, Span::unknown(), &None).unwrap();
|
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);
|
assert_eq!(actual, expected);
|
||||||
|
|
||||||
let actual = expand_glob("[*.txt", cwd, Span::unknown(), &None).unwrap();
|
let actual = expand_glob("[*.txt", cwd, Span::unknown(), &None).unwrap();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user