Compiler Cleanup (Part 2) (#56)

* check on windows

* fix windows build

* version test

* clean up - will it work on windows

* fix formatting
This commit is contained in:
water111
2020-09-25 21:11:27 -04:00
committed by GitHub
parent 15051ec5dd
commit c9b53d51ff
175 changed files with 455 additions and 2785 deletions
+10
View File
@@ -1290,3 +1290,13 @@ TEST(GoosSpecialForms, And) {
EXPECT_ANY_THROW(e(i, x));
}
}
TEST(GoosBuiltins, Format) {
Interpreter i;
EXPECT_EQ(e(i, "(fmt #f \"{}, {}, {}\" 3 'bean \"str\")"), "\"3, bean, str\"");
}
TEST(GoosBuiltins, Error) {
Interpreter i;
EXPECT_ANY_THROW(e(i, "(error \"hi\")"));
}