summaryrefslogtreecommitdiff
path: root/src/tangara/lua/bridge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tangara/lua/bridge.cpp')
-rw-r--r--src/tangara/lua/bridge.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tangara/lua/bridge.cpp b/src/tangara/lua/bridge.cpp
index f1b17636..51ad0b62 100644
--- a/src/tangara/lua/bridge.cpp
+++ b/src/tangara/lua/bridge.cpp
@@ -21,6 +21,7 @@
#include "lua/lua_filesystem.hpp"
#include "lua/lua_queue.hpp"
#include "lua/lua_screen.hpp"
+#include "lua/lua_testing.hpp"
#include "lua/lua_theme.hpp"
#include "lua/lua_version.hpp"
#include "lvgl.h"
@@ -47,9 +48,8 @@ namespace lua {
static constexpr char kBridgeKey[] = "bridge";
-static auto make_font_cb(const char* name,
- int size,
- int weight) -> const lv_font_t* {
+static auto make_font_cb(const char* name, int size, int weight)
+ -> const lv_font_t* {
if (std::string{"fusion"} == name) {
if (size == 12) {
return &font_fusion_12;
@@ -87,6 +87,7 @@ auto Bridge::installBaseModules(lua_State* L) -> void {
RegisterControlsModule(L);
RegisterDatabaseModule(L);
RegisterQueueModule(L);
+ RegisterTestingModule(L);
RegisterFileSystemModule(L);
RegisterVersionModule(L);
RegisterThemeModule(L);