Skip to content

Commit 494f835

Browse files
committed
basic jewel socket parse test
1 parent 7ca3938 commit 494f835

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

spec/System/TestItemParse_spec.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,4 +270,16 @@ describe("TestItemParse", function()
270270
assert.are.equals(2, #item.runeModLines)
271271

272272
end)
273+
274+
it("jewel sockets", function()
275+
local item = new("Item", [[
276+
Six Socket Body
277+
Garment
278+
Quality: 20
279+
Sockets: J J J J J J
280+
]])
281+
item:BuildAndParseRaw()
282+
283+
assert.are.equals(6, item.jewelSocketCount)
284+
end)
273285
end)

0 commit comments

Comments
 (0)