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

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