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__eta_reduction.snap | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bin/tests/snapshots/main__eta_reduction.snap (limited to 'bin/tests/snapshots/main__eta_reduction.snap') diff --git a/bin/tests/snapshots/main__eta_reduction.snap b/bin/tests/snapshots/main__eta_reduction.snap new file mode 100644 index 0000000..6271980 --- /dev/null +++ b/bin/tests/snapshots/main__eta_reduction.snap @@ -0,0 +1,13 @@ +--- +source: bin/tests/main.rs +expression: "&out" + +--- +[W07] Warning: This function expression is eta reducible + ╭─[data/eta_reduction.nix:11:9] + │ + 11 │ (map (x: double x) xs) + · ─────┬───── + · ╰─────── Found eta-reduction: double +────╯ + -- cgit v1.2.3