windows fix?

This commit is contained in:
Devyn Cairns 2024-06-06 19:01:40 -07:00
parent 279a84225f
commit d158b752aa
No known key found for this signature in database

View File

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