summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-12-04 14:58:11 +0100
committerLaurenz <laurmaedje@gmail.com>2023-12-04 14:58:11 +0100
commit8a2ef9ea01b4e7ec27090e3d98631a1d73ea5a8d (patch)
tree392d5694e362ee4f6bef5d02a2fb9660a85fdad0
parentf5c90c8714413507c93068ba1bd6a035838e9beb (diff)
Enable workspace lints for tests
-rw-r--r--tests/Cargo.toml3
-rw-r--r--tests/src/tests.rs2
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/Cargo.toml b/tests/Cargo.toml
index 006b7898..9b901a7b 100644
--- a/tests/Cargo.toml
+++ b/tests/Cargo.toml
@@ -32,3 +32,6 @@ harness = false
name = "benches"
path = "src/benches.rs"
harness = false
+
+[lints]
+workspace = true
diff --git a/tests/src/tests.rs b/tests/src/tests.rs
index eb2a5f06..82876e6c 100644
--- a/tests/src/tests.rs
+++ b/tests/src/tests.rs
@@ -430,7 +430,7 @@ fn test(
if world.print.frames {
for frame in &document.pages {
- writeln!(output, "{:#?}\n", frame).unwrap();
+ writeln!(output, "{frame:#?}\n").unwrap();
}
}