diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-03-09 12:55:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-09 11:55:03 +0000 |
| commit | 82617a6a3cb4d1d7b8b4ed52f2adb31a3a148114 (patch) | |
| tree | d9242fac2c8c17ad3feaedae41c19d91ecabe902 /tests/src | |
| parent | 204c4ecfcb5b0dfc4d34e5622af603c2c190af69 (diff) | |
Generate PDF ID automatically unless we really have a stable ID (#3591)
Diffstat (limited to 'tests/src')
| -rw-r--r-- | tests/src/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/tests.rs b/tests/src/tests.rs index 4c3975bb..e4f60bb6 100644 --- a/tests/src/tests.rs +++ b/tests/src/tests.rs @@ -501,7 +501,7 @@ fn test( if let Some(pdf_path) = pdf_path { let pdf_data = typst_pdf::pdf( &document, - Some(&format!("typst-test: {}", name.display())), + Smart::Custom(&format!("typst-test: {}", name.display())), world.today(Some(0)), ); fs::create_dir_all(pdf_path.parent().unwrap()).unwrap(); |
