mirror of
https://github.com/typst/typst
synced 2025-05-15 01:25:28 +08:00
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…
x
Reference in New Issue
Block a user