aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/snapshots/main__faster_groupby.snap
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-12-29 05:23:38 +0000
committerAkshay <[email protected]>2022-01-08 10:33:10 +0000
commitd1ff222bcf94152cd657233cffd8c14a45788c26 (patch)
treefb8c94daefe0384a48b503fdd4bfaff905d78e2f /bin/tests/snapshots/main__faster_groupby.snap
parent94a2edf57340ac3f3a2276c88a221ba3125172af (diff)
allow for version based lints
Diffstat (limited to 'bin/tests/snapshots/main__faster_groupby.snap')
-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