From c4106eed90f457ed9ff651993a0cfbd994ae0ff1 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sun, 14 Nov 2021 10:34:29 -0700 Subject: [PATCH] work around GenerativeTestCase failure on C# --- src/test/cases/GenerativeTestCase.kiss | 3 ++- src/test/cases/MacroTestCase.kiss | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/cases/GenerativeTestCase.kiss b/src/test/cases/GenerativeTestCase.kiss index ff02037..75a0387 100644 --- a/src/test/cases/GenerativeTestCase.kiss +++ b/src/test/cases/GenerativeTestCase.kiss @@ -30,7 +30,8 @@ ((chooseRandom (concat [ - ->{`null} + // null in conditionals is problematic in C# + (#if !cs ->{`null} ->{`false}) ->{`false} ->{`""} ->{`[]} diff --git a/src/test/cases/MacroTestCase.kiss b/src/test/cases/MacroTestCase.kiss index 7d464cb..d9bccb8 100644 --- a/src/test/cases/MacroTestCase.kiss +++ b/src/test/cases/MacroTestCase.kiss @@ -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)) \ No newline at end of file