dev: move snaps (#20)

* dev: move snaps

* build: update cargo.lock
This commit is contained in:
Myriad-Dreamin 2024-03-12 14:10:24 +08:00 committed by GitHub
parent 1a05e4274c
commit 32d74194c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 5 additions and 5 deletions

4
Cargo.lock generated
View file

@ -3598,7 +3598,7 @@ dependencies = [
[[package]]
name = "tinymist"
version = "0.10.1"
version = "0.10.2"
dependencies = [
"anyhow",
"async-trait",
@ -3636,7 +3636,7 @@ dependencies = [
[[package]]
name = "tinymist-query"
version = "0.10.1"
version = "0.10.2"
dependencies = [
"anyhow",
"comemo 0.4.0",

View file

@ -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"
]
}
}

View file

@ -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| {