windows: Fix tests on Windows (#22616)
Release Notes: - N/A --------- Co-authored-by: Mikayla <mikayla.c.maki@gmail.com>
This commit is contained in:
parent
c252b5db16
commit
74c4dbd237
56 changed files with 1540 additions and 856 deletions
|
@ -595,6 +595,7 @@ mod tests {
|
|||
use project::{project_settings::ProjectSettings, Project};
|
||||
use serde_json::json;
|
||||
use settings::SettingsStore;
|
||||
use util::path;
|
||||
use workspace::{open_paths, AppState};
|
||||
|
||||
use super::*;
|
||||
|
@ -615,7 +616,7 @@ mod tests {
|
|||
.fs
|
||||
.as_fake()
|
||||
.insert_tree(
|
||||
"/dir",
|
||||
path!("/dir"),
|
||||
json!({
|
||||
"main.ts": "a"
|
||||
}),
|
||||
|
@ -623,7 +624,7 @@ mod tests {
|
|||
.await;
|
||||
cx.update(|cx| {
|
||||
open_paths(
|
||||
&[PathBuf::from("/dir/main.ts")],
|
||||
&[PathBuf::from(path!("/dir/main.ts"))],
|
||||
app_state,
|
||||
workspace::OpenOptions::default(),
|
||||
cx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue