work around GenerativeTestCase failure on C#

This commit is contained in:
2021-11-14 10:34:29 -07:00
parent cda44de956
commit c4106eed90
2 changed files with 3 additions and 2 deletions

View File

@@ -30,7 +30,8 @@
((chooseRandom
(concat
[
->{`null}
// null in conditionals is problematic in C#
(#if !cs ->{`null} ->{`false})
->{`false}
->{`""}
->{`[]}

View File

@@ -119,4 +119,4 @@
// If for whatever reason, you wanted to make a function called and
(undefMacro and)
(function and [a b] (+ a b))
(function andValue [] (and 5 6))
(function andValue [] (and 5 6))