mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Test metadata value changing
This commit is contained in:
parent
88b04eadc9
commit
408af9d17d
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,8 @@ compare_meta:from_table({
|
|||
})
|
||||
|
||||
local function test_metadata(meta)
|
||||
meta:from_table({fields = {a = 1, b = "2"}})
|
||||
meta:from_table({fields = {a = 2, b = "2"}})
|
||||
meta:set_string("a", 1)
|
||||
meta:set_string("c", "3")
|
||||
meta:set_int("d", 4)
|
||||
meta:set_string("e", "e")
|
||||
|
|
Loading…
Add table
Reference in a new issue