From 33490aa211fdd2b2292c396002123035e0b1fe54 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 4 Jun 2022 16:20:19 +0530 Subject: do not raise empty-let when comments are present --- bin/tests/snapshots/main__empty_let_in.snap | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bin/tests/snapshots/main__empty_let_in.snap') diff --git a/bin/tests/snapshots/main__empty_let_in.snap b/bin/tests/snapshots/main__empty_let_in.snap index 426692f..df0911d 100644 --- a/bin/tests/snapshots/main__empty_let_in.snap +++ b/bin/tests/snapshots/main__empty_let_in.snap @@ -4,11 +4,11 @@ expression: "&out" --- [W02] Warning: Useless let-in expression - ╭─[data/empty_let_in.nix:1:1] + ╭─[data/empty_let_in.nix:3:5] │ - 1 │ ╭─▶ let - 3 │ ├─▶ null - · │ - · ╰──────────── This let-in expression has no entries + 3 │ ╭─▶ let + 5 │ ├─▶ null + · │ + · ╰────────────── This let-in expression has no entries ───╯ -- cgit v1.2.3