-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add test for 'elseif' generation
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0ec8521
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the new tests, @hishamhm! By the way, as the
.so
that Titan generates can now be loaded in stock Lua we do not need to spawn a separate interpreter, which will make writing the tests a little nicer, and also lead to better error messages when tests inevitably break. We can usepackage.loadlib
to load the.so
directly.0ec8521
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those were breaking in my system because I have a different minor version installed system-wide, so I changed the tests to
lua/src/lua
0ec8521
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.