nixir/tests/logical.nix
NotAShelf b49044c9a5
nix: format test fixtures via nix fmt
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia9c1e9b0a8cd9c6d834f153609baa5426a6a6964
2026-02-22 21:51:22 +03:00

10 lines
113 B
Nix

# Test logical operators
let
x = true;
y = false;
in
if x && y
then 1
else if x || y
then 2
else 3