mirror of https://github.com/stelzo/typst.git
Enable workspace lints for tests
This commit is contained in:
parent
f5c90c8714
commit
8a2ef9ea01
|
|
@ -32,3 +32,6 @@ harness = false
|
||||||
name = "benches"
|
name = "benches"
|
||||||
path = "src/benches.rs"
|
path = "src/benches.rs"
|
||||||
harness = false
|
harness = false
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
|
|
||||||
|
|
@ -430,7 +430,7 @@ fn test(
|
||||||
|
|
||||||
if world.print.frames {
|
if world.print.frames {
|
||||||
for frame in &document.pages {
|
for frame in &document.pages {
|
||||||
writeln!(output, "{:#?}\n", frame).unwrap();
|
writeln!(output, "{frame:#?}\n").unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue