summaryrefslogtreecommitdiff
path: root/tests/src/benches.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/benches.rs')
-rw-r--r--tests/src/benches.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/src/benches.rs b/tests/src/benches.rs
index 997d3b40..50324c78 100644
--- a/tests/src/benches.rs
+++ b/tests/src/benches.rs
@@ -11,7 +11,7 @@ use typst::World;
use unscanny::Scanner;
const TEXT: &str = include_str!("../typ/compiler/bench.typ");
-const FONT: &[u8] = include_bytes!("../fonts/IBMPlexSans-Regular.ttf");
+const FONT: &[u8] = include_bytes!("../../assets/fonts/IBMPlexSans-Regular.ttf");
main!(
bench_decode,
@@ -124,10 +124,6 @@ impl BenchWorld {
}
impl World for BenchWorld {
- fn root(&self) -> &Path {
- Path::new("")
- }
-
fn library(&self) -> &Prehashed<Library> {
&self.library
}