add config option for changing cond splitting behavior (#522)

This commit is contained in:
water111
2021-05-24 19:52:19 -04:00
committed by GitHub
parent d719bf5677
commit 0f0902eabf
15 changed files with 115 additions and 46 deletions
+8
View File
@@ -1255,6 +1255,14 @@ TEST(GoosSpecialForms, Quote) {
}
}
TEST(GoosSpecialForms, DoubleQuote) {
Interpreter i;
e(i, "(define x ''y)");
EXPECT_EQ(e(i, "x"), "(quote y)");
e(i, "(define x `'`y)");
EXPECT_EQ(e(i, "x"), "(quote (quasiquote y))");
}
TEST(GoosSpecialForms, QuasiQuote) {
Interpreter i;
e(i, "(define x 'y)");