Fix parsing of 4. in Expression

This commit is contained in:
Haoyu Qiu
2024-09-11 21:57:14 +08:00
parent 32ddd4f4e0
commit 905e8a39bf
4 changed files with 186 additions and 1 deletions

View File

@ -37,6 +37,7 @@
#include "test_astar.h"
#include "test_basis.h"
#include "test_crypto.h"
#include "test_expression.h"
#include "test_gdscript.h"
#include "test_gui.h"
#include "test_math.h"
@ -71,6 +72,7 @@ const char **tests_get_names() {
"astar",
"xml_parser",
"theme",
"expression",
nullptr
};
@ -156,6 +158,10 @@ MainLoop *test_main(String p_test, const List<String> &p_args) {
return TestTheme::test();
}
if (p_test == "expression") {
return TestExpression::test();
}
print_line("Unknown test: " + p_test);
return nullptr;
}