aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/snapshots
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tests/snapshots')
-rw-r--r--bin/tests/snapshots/main__faster_groupby.snap20
1 files changed, 20 insertions, 0 deletions
diff --git a/bin/tests/snapshots/main__faster_groupby.snap b/bin/tests/snapshots/main__faster_groupby.snap
new file mode 100644
index 0000000..6ff3380
--- /dev/null
+++ b/bin/tests/snapshots/main__faster_groupby.snap
@@ -0,0 +1,20 @@
1---
2source: bin/tests/main.rs
3expression: "&out"
4
5---
6[W15] Warning: Found lib.groupBy
7 ╭─[data/faster_groupby.nix:3:7]
8
9 3 │ _ = lib.groupBy (x: if x > 2 then "big" else "small") [ 1 2 3 4 5 ];
10 · ─────┬─────
11 · ╰─────── Prefer builtins.groupBy over lib.groupBy
12───╯
13[W15] Warning: Found lib.groupBy
14 ╭─[data/faster_groupby.nix:6:7]
15
16 6 │ _ = nixpkgs.lib.groupBy (x: if x > 2 then "big" else "small") [ 1 2 3 4 5 ];
17 · ─────────┬─────────
18 · ╰─────────── Prefer builtins.groupBy over nixpkgs.lib.groupBy
19───╯
20