fs: Bring back copy paste again (#25543)

Closes #25317

cc @0xtimsb 

Release Notes:

- N/A
This commit is contained in:
张小白 2025-02-25 17:36:07 +08:00 committed by GitHub
parent 8e891c16f8
commit 8e1003ef59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 189 additions and 15 deletions

View file

@ -4958,14 +4958,14 @@ async fn test_create_entry(cx: &mut gpui::TestAppContext) {
assert_eq!(
fs.paths(true),
vec![
PathBuf::from("/"),
PathBuf::from("/one"),
PathBuf::from("/one/two"),
PathBuf::from("/one/two/c.rs"),
PathBuf::from("/one/two/three"),
PathBuf::from("/one/two/three/a.txt"),
PathBuf::from("/one/two/three/b.."),
PathBuf::from("/one/two/three/four"),
PathBuf::from(path!("/")),
PathBuf::from(path!("/one")),
PathBuf::from(path!("/one/two")),
PathBuf::from(path!("/one/two/c.rs")),
PathBuf::from(path!("/one/two/three")),
PathBuf::from(path!("/one/two/three/a.txt")),
PathBuf::from(path!("/one/two/three/b..")),
PathBuf::from(path!("/one/two/three/four")),
]
);