aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/data/deprecated_is_null.nix
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tests/data/deprecated_is_null.nix')
-rw-r--r--bin/tests/data/deprecated_is_null.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/tests/data/deprecated_is_null.nix b/bin/tests/data/deprecated_is_null.nix
new file mode 100644
index 0000000..42596d7
--- /dev/null
+++ b/bin/tests/data/deprecated_is_null.nix
@@ -0,0 +1,6 @@
1let
2 e = null;
3in
4if isNull e
5then "no"
6else "yes"