···11-[
22- (
33- let
44- in
55- null
66- )
77- (
88- let
99- # don't fix this, we have a comment
1010- # raise the lint though
1111- in
1212- null
1313- )
1414-]
+19
bin/tests/empty_let_in.rs
···11+mod _utils;
22+33+use indoc::indoc;
44+55+use macros::generate_tests;
66+77+generate_tests! {
88+ rule: empty_let_in,
99+ expressions: [
1010+ "let in null",
1111+ indoc! {"
1212+ let
1313+ # don't fix this, we have a comment
1414+ # raise the lint though
1515+ in
1616+ null
1717+ "}
1818+ ],
1919+}
···11+---
22+source: bin/tests/empty_let_in.rs
33+expression: "\"let\\n # don't fix this, we have a comment\\n # raise the lint though\\nin\\nnull\\n\""
44+---
55+