From 165def85dfe0d5b632465c8579ab159a2394dee0 Mon Sep 17 00:00:00 2001 From: Stanislav Tkach Date: Wed, 11 Dec 2024 19:25:43 +0100 Subject: [PATCH] Set 'allow-panic-in-tests = true' in the Rust Clippy config --- earthly/rust/stdcfgs/clippy.toml | 1 + examples/rust/clippy.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/earthly/rust/stdcfgs/clippy.toml b/earthly/rust/stdcfgs/clippy.toml index 0358cdb50..7bada5473 100644 --- a/earthly/rust/stdcfgs/clippy.toml +++ b/earthly/rust/stdcfgs/clippy.toml @@ -1,2 +1,3 @@ allow-unwrap-in-tests = true allow-expect-in-tests = true +allow-panic-in-tests = true diff --git a/examples/rust/clippy.toml b/examples/rust/clippy.toml index 0358cdb50..7bada5473 100644 --- a/examples/rust/clippy.toml +++ b/examples/rust/clippy.toml @@ -1,2 +1,3 @@ allow-unwrap-in-tests = true allow-expect-in-tests = true +allow-panic-in-tests = true