Remove separator!
macro and make path!
handle relative paths (#32527)
Release Notes: - N/A
This commit is contained in:
parent
babf846ef9
commit
9cc82212b5
13 changed files with 302 additions and 343 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue