mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-03 17:58:17 +00:00
parent
1a05e4274c
commit
32d74194c0
34 changed files with 5 additions and 5 deletions
|
@ -19,8 +19,8 @@ input_file: crates/tinymist-query/src/fixtures/lexical_hierarchy/dict.typ
|
|||
"range": "5:6"
|
||||
},
|
||||
"refs": [
|
||||
"z@43..44",
|
||||
"z@30..31"
|
||||
"z@30..31",
|
||||
"z@43..44"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -176,7 +176,7 @@ mod tests {
|
|||
pub fn snapshot_testing(name: &str, f: &impl Fn(&mut TypstSystemWorld, PathBuf)) {
|
||||
let mut settings = insta::Settings::new();
|
||||
settings.set_prepend_module_to_snapshot(false);
|
||||
settings.set_snapshot_path(format!("fixtures/{name}"));
|
||||
settings.set_snapshot_path(format!("fixtures/{name}/snaps"));
|
||||
settings.bind(|| {
|
||||
let glob_path = format!("fixtures/{name}/*.typ");
|
||||
insta::glob!(&glob_path, |path| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue