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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue