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
|
@ -696,12 +696,20 @@ mod test {
|
|||
|
||||
// not testing nvim as it doesn't have a filename
|
||||
cx.simulate_keystrokes("\" % p");
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
cx.assert_state(
|
||||
indoc! {"
|
||||
The quick brown
|
||||
dogdir/file.rˇs"},
|
||||
Mode::Normal,
|
||||
);
|
||||
#[cfg(target_os = "windows")]
|
||||
cx.assert_state(
|
||||
indoc! {"
|
||||
The quick brown
|
||||
dogdir\\file.rˇs"},
|
||||
Mode::Normal,
|
||||
);
|
||||
}
|
||||
|
||||
#[gpui::test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue