aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/snapshots/main__bool_simplification.snap
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tests/snapshots/main__bool_simplification.snap')
-rw-r--r--bin/tests/snapshots/main__bool_simplification.snap13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/tests/snapshots/main__bool_simplification.snap b/bin/tests/snapshots/main__bool_simplification.snap
new file mode 100644
index 0000000..9e3c991
--- /dev/null
+++ b/bin/tests/snapshots/main__bool_simplification.snap
@@ -0,0 +1,13 @@
1---
2source: bin/tests/main.rs
3expression: "&out"
4
5---
6[W18] Warning: This boolean expression can be simplified
7 ╭─[data/bool_simplification.nix:2:7]
8
9 2 │ _ = !(a == b);
10 · ────┬────
11 · ╰────── Try != instead of !(... == ...)
12───╯
13