aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_entity.cpp
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-07-12 22:42:50 +0200
committerPilzAdam <pilzadam@minetest.net>2013-07-12 22:46:28 +0200
commita0771d0940e06236885ec753085c0df75c861d0e (patch)
tree4a78e24b65b92361f9092b9ca2a682ab2070abe3 /src/script/cpp_api/s_entity.cpp
parent38bc38cd88edd621c606abc4ca0b81d892da6592 (diff)
downloadminetest-a0771d0940e06236885ec753085c0df75c861d0e.tar.gz
minetest-a0771d0940e06236885ec753085c0df75c861d0e.tar.bz2
minetest-a0771d0940e06236885ec753085c0df75c861d0e.zip
Fix bug server name set to address field when using up/down keys
Show server description above connect button instead of in favorites list
Diffstat (limited to 'src/script/cpp_api/s_entity.cpp')
0 files changed, 0 insertions, 0 deletions
class="hl opt">(core.serialize(test_in)) assert.same(test_in, test_out) end) it("handles characters", function() local test_in = {escape_chars="\n\r\t\v\\\"\'", non_european="θשׁ٩∂"} local test_out = core.deserialize(core.serialize(test_in)) assert.same(test_in, test_out) end) it("handles precise numbers", function() local test_in = 0.2695949158945771 local test_out = core.deserialize(core.serialize(test_in)) assert.same(test_in, test_out) end) it("handles big integers", function() local test_in = 269594915894577 local test_out = core.deserialize(core.serialize(test_in)) assert.same(test_in, test_out) end) it("handles recursive structures", function() local test_in = { hello = "world" } test_in.foo = test_in local test_out = core.deserialize(core.serialize(test_in)) assert.same(test_in, test_out) end) it("strips functions in safe mode", function() local test_in = { func = function(a, b) error("test") end, foo = "bar" } local str = core.serialize(test_in)