summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/layouting.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/layouting.rs b/tests/layouting.rs
index 1a406c8c..27999d43 100644
--- a/tests/layouting.rs
+++ b/tests/layouting.rs
@@ -77,7 +77,7 @@ fn test(name: &str, src: &str) {
// Make run warm.
#[cfg(not(debug_assertions))] let warmup_start = Instant::now();
- typesetter.typeset(&src).unwrap();
+ #[cfg(not(debug_assertions))] typesetter.typeset(&src).unwrap();
#[cfg(not(debug_assertions))] let warmup_end = Instant::now();
// Layout into box layout.