mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 09:45:50 +02:00
Path migration part 2: nu-test-support
(#13329)
# Description Part 2 of replacing `std::path` types with `nu_path` types added in #13115. This PR targets `nu-test-support`.
This commit is contained in:
@ -580,7 +580,7 @@ mod test {
|
||||
Playground::setup("test_expand_glob", |dirs, play| {
|
||||
play.with_files(&[Stub::EmptyFile("a.txt"), Stub::EmptyFile("b.txt")]);
|
||||
|
||||
let cwd = dirs.test();
|
||||
let cwd = dirs.test().as_std_path();
|
||||
|
||||
let actual = expand_glob("*.txt", cwd, Span::unknown(), &Signals::empty()).unwrap();
|
||||
let expected = &["a.txt", "b.txt"];
|
||||
|
Reference in New Issue
Block a user