work around GenerativeTestCase failure on C#

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

View File

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

View File

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