Skip to content

Commit

Permalink
dev: move snaps (#20)
Browse files Browse the repository at this point in the history
* dev: move snaps

* build: update cargo.lock
  • Loading branch information
Myriad-Dreamin authored Mar 12, 2024
1 parent 1a05e42 commit 32d7419
Show file tree
Hide file tree
Showing 34 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion crates/tinymist-query/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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| {
Expand Down

0 comments on commit 32d7419

Please sign in to comment.