Skip to content

PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust

Root clippy.toml: tests may unwrap, expect, panic and index

Brandon Thomas4e74f9ed6a0f
diff --git a/clippy.toml b/clippy.toml
new file mode 100644
index 000000000..4b6c79f55
--- /dev/null
+++ b/clippy.toml
@@ -0,0 +1,4 @@
+allow-unwrap-in-tests = true
+allow-expect-in-tests = true
+allow-panic-in-tests = true
+allow-indexing-slicing-in-tests = true