From e8b6ab28b211cc51072a147783989dd282c768d5 Mon Sep 17 00:00:00 2001 From: jiwonz Date: Wed, 4 Sep 2024 01:35:40 +0900 Subject: [PATCH] Fix mod.rs --- .../snapshots/darklua_core__rules__test__all_rule_names.snap | 3 ++- .../snapshots/darklua_core__rules__test__default_rules.snap | 3 ++- tests/rule_tests/mod.rs | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/rules/snapshots/darklua_core__rules__test__all_rule_names.snap b/src/rules/snapshots/darklua_core__rules__test__all_rule_names.snap index 50a19fd1..0d68a76a 100644 --- a/src/rules/snapshots/darklua_core__rules__test__all_rule_names.snap +++ b/src/rules/snapshots/darklua_core__rules__test__all_rule_names.snap @@ -26,5 +26,6 @@ expression: rule_names "remove_unused_variable", "remove_unused_while", "rename_variables", - "remove_continue" + "remove_continue", + "remove_if_expression" ] diff --git a/src/rules/snapshots/darklua_core__rules__test__default_rules.snap b/src/rules/snapshots/darklua_core__rules__test__default_rules.snap index 54eabef4..34acc67b 100644 --- a/src/rules/snapshots/darklua_core__rules__test__default_rules.snap +++ b/src/rules/snapshots/darklua_core__rules__test__default_rules.snap @@ -16,5 +16,6 @@ expression: rules "remove_nil_declaration", "rename_variables", "remove_function_call_parens", - "remove_continue" + "remove_continue", + "remove_if_expression" ] diff --git a/tests/rule_tests/mod.rs b/tests/rule_tests/mod.rs index 0b019276..0914ea5b 100644 --- a/tests/rule_tests/mod.rs +++ b/tests/rule_tests/mod.rs @@ -313,5 +313,4 @@ mod remove_unused_if_branch; mod remove_unused_variable; mod remove_unused_while; mod rename_variables; -mod remove_if_expression; mod remove_continue;