From 4e063b2abc402ac4d6902647e821978269025c7d Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 3 Nov 2021 14:48:35 +0530 Subject: add snapshot test suite --- bin/tests/snapshots/main__empty_let_in.snap | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 bin/tests/snapshots/main__empty_let_in.snap (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 new file mode 100644 index 0000000..426692f --- /dev/null +++ b/bin/tests/snapshots/main__empty_let_in.snap @@ -0,0 +1,14 @@ +--- +source: bin/tests/main.rs +expression: "&out" + +--- +[W02] Warning: Useless let-in expression + ╭─[data/empty_let_in.nix:1:1] + │ + 1 │ ╭─▶ let + 3 │ ├─▶ null + · │ + · ╰──────────── This let-in expression has no entries +───╯ + -- cgit v1.2.3