mirror of
https://github.com/open-goal/jak-project
synced 2026-07-11 15:28:58 -04:00
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:
@@ -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\")"));
|
||||
}
|
||||
Reference in New Issue
Block a user