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

@ -277,7 +277,7 @@ mod tests {
use settings::SettingsStore;
use smol::channel;
use std::{future, path::Path, sync::Arc};
use util::separator;
use util::path;
fn init_test(cx: &mut TestAppContext) {
zlog::init_test();
@ -422,7 +422,7 @@ mod tests {
assert_eq!(
search_result.path.to_string_lossy(),
separator!("fixture/needle.md")
path!("fixture/needle.md")
);
let content = cx