remove test for dicts

This commit is contained in:
Enno Rehling 2017-02-11 22:37:15 +01:00
parent 422af9dd4d
commit b56538e092
1 changed files with 0 additions and 11 deletions

View File

@ -330,17 +330,6 @@ function test_message()
return msg return msg
end end
function test_hashtable()
local f = faction.create("noreply1@eressea.de", "human", "de")
f.objects:set("enno", "smart guy")
f.objects:set("age", 10)
assert(f.objects:get("jesus") == nil)
assert(f.objects:get("enno") == "smart guy")
assert(f.objects:get("age") == 10)
f.objects:set("age", nil)
assert(f.objects:get("age") == nil)
end
function test_events() function test_events()
local fail = 1 local fail = 1
local function msg_handler(u, evt) local function msg_handler(u, evt)