Remove separator! macro and make path! handle relative paths (#32527)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-06-13 00:32:29 -06:00 committed by GitHub
parent babf846ef9
commit 9cc82212b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 302 additions and 343 deletions

View file

@ -209,7 +209,7 @@ async fn test_matching_paths(cx: &mut TestAppContext) {
"bandana",
"./bandana",
".\\bandana",
util::separator!("a/bandana"),
util::path!("a/bandana"),
"b/bandana",
"b\\bandana",
" bandana",
@ -230,7 +230,7 @@ async fn test_matching_paths(cx: &mut TestAppContext) {
assert_eq!(
picker.delegate.matches.len(),
// existence of CreateNew option depends on whether path already exists
if bandana_query == util::separator!("a/bandana") {
if bandana_query == util::path!("a/bandana") {
1
} else {
2