From b56538e0923475992d62e0e875c252f21d67bc53 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 11 Feb 2017 22:37:15 +0100 Subject: [PATCH] remove test for dicts --- scripts/tests/common.lua | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/tests/common.lua b/scripts/tests/common.lua index 670060816..96673bfd3 100644 --- a/scripts/tests/common.lua +++ b/scripts/tests/common.lua @@ -330,17 +330,6 @@ function test_message() return msg 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() local fail = 1 local function msg_handler(u, evt)