mirror of
https://github.com/Insality/druid
synced 2025-09-27 10:02:19 +02:00
Refactor text setting methods and remove ldoc files
This commit is contained in:
@@ -3,8 +3,9 @@ local mock = require("deftest.mock.mock")
|
||||
local M = {}
|
||||
|
||||
-- Userdata type instead of script self
|
||||
---@return vector3|vector4
|
||||
function M.get_context()
|
||||
return vmath.vector()
|
||||
return vmath.vector({})
|
||||
end
|
||||
|
||||
|
||||
|
@@ -17,6 +17,6 @@ function init(self)
|
||||
deftest.add(tests[i])
|
||||
end
|
||||
|
||||
local is_report = (sys.get_config("test.report") == "1")
|
||||
local is_report = (sys.get_config_int("test.report", 0) == 1)
|
||||
deftest.run({ coverage = { enabled = is_report } })
|
||||
end
|
||||
|
Reference in New Issue
Block a user