mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
or not
This commit is contained in:
parent
ebb1ead848
commit
ae83f4d264
1 changed files with 1 additions and 7 deletions
|
@ -35,10 +35,8 @@ read_globals = {
|
||||||
string = {fields = {"split", "trim"}},
|
string = {fields = {"split", "trim"}},
|
||||||
table = {fields = {"copy", "getn", "indexof", "insert_all", "key_value_swap"}},
|
table = {fields = {"copy", "getn", "indexof", "insert_all", "key_value_swap"}},
|
||||||
math = {fields = {"hypot", "round"}},
|
math = {fields = {"hypot", "round"}},
|
||||||
}
|
|
||||||
|
|
||||||
-- Busted-style unit testing
|
-- Busted-style unit testing
|
||||||
local bustitute = {
|
|
||||||
read_globals = {
|
read_globals = {
|
||||||
"describe",
|
"describe",
|
||||||
"it",
|
"it",
|
||||||
|
@ -46,9 +44,6 @@ local bustitute = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
files["mods/unittests/matrix4.lua"] = bustitute
|
|
||||||
files["mods/unittests/rotation.lua"] = bustitute
|
|
||||||
|
|
||||||
globals = {
|
globals = {
|
||||||
"aborted",
|
"aborted",
|
||||||
"minetest",
|
"minetest",
|
||||||
|
@ -56,4 +51,3 @@ globals = {
|
||||||
os = { fields = { "tempfolder" } },
|
os = { fields = { "tempfolder" } },
|
||||||
"_",
|
"_",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue