summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Scribunto/tests/phpunit/engines/LuaCommon/CommonTests-data.lua
blob: 11515fca34536ddd5670d400c71058db3f1d24af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-- This data is valid
local t = {
	["true"] = true,
	["false"] = false,
	NaN = 0/0,
	inf = 1/0,
	num = 12.5,
	str = "foo bar",
	table = {
		"one", "two", "three", foo = "bar"
	}
}

-- Duplicate values
t.table2 = t.table

-- Make sure recursion is correctly handled, too
t.t = t

return t