From b3e262acfd711f27c7450379d85092ec169388a7 Mon Sep 17 00:00:00 2001 From: jonboh Date: Sun, 24 Sep 2023 18:25:20 +0200 Subject: [PATCH] add ui-toml test --- tests/ui-toml/enum_variants_threshold0/clippy.toml | 1 + .../enum_variants_threshold0/enum_variants_name_threshold.rs | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 tests/ui-toml/enum_variants_threshold0/clippy.toml create mode 100644 tests/ui-toml/enum_variants_threshold0/enum_variants_name_threshold.rs diff --git a/tests/ui-toml/enum_variants_threshold0/clippy.toml b/tests/ui-toml/enum_variants_threshold0/clippy.toml new file mode 100644 index 00000000000..f85aade6ae8 --- /dev/null +++ b/tests/ui-toml/enum_variants_threshold0/clippy.toml @@ -0,0 +1 @@ +enum-variant-name-threshold = 0 diff --git a/tests/ui-toml/enum_variants_threshold0/enum_variants_name_threshold.rs b/tests/ui-toml/enum_variants_threshold0/enum_variants_name_threshold.rs new file mode 100644 index 00000000000..6918d7528c1 --- /dev/null +++ b/tests/ui-toml/enum_variants_threshold0/enum_variants_name_threshold.rs @@ -0,0 +1,3 @@ +enum Actions {} + +fn main() {}