diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-12-05 20:29:55 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-12-05 20:29:55 +0100 |
| commit | f5b104d0da1c414fb59878d7378add316ee14798 (patch) | |
| tree | 56968591bd997aa78cb8690da318ee97a822f2a9 /tests | |
| parent | 72a9631b038d1a60e4e4a78e92cd69e6f8ce4316 (diff) | |
Rename crate `typst` -> `typstc` ✏
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/layouting.rs | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/layouting.rs b/tests/layouting.rs index 845c0034..7f6014e8 100644 --- a/tests/layouting.rs +++ b/tests/layouting.rs @@ -2,12 +2,12 @@ use std::fs::{self, File}; use std::io::{BufWriter, Read, Write}; use std::process::Command; -use typst::export::pdf::PdfExporter; -use typst::layout::{LayoutAction, Serialize}; -use typst::size::{Size, Size2D, SizeBox}; -use typst::style::PageStyle; -use typst::toddle::query::FileSystemFontProvider; -use typst::Typesetter; +use typstc::export::pdf::PdfExporter; +use typstc::layout::{LayoutAction, Serialize}; +use typstc::size::{Size, Size2D, SizeBox}; +use typstc::style::PageStyle; +use typstc::toddle::query::FileSystemFontProvider; +use typstc::Typesetter; const CACHE_DIR: &str = "tests/cache"; @@ -98,10 +98,9 @@ fn test(name: &str, src: &str) { #[cfg(not(debug_assertions))] println!(); return; - }, + } }; - // Write the serialed layout file. let path = format!("{}/serialized/{}.tld", CACHE_DIR, name); let mut file = File::create(path).unwrap(); |
