We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 111af37 commit f79e6beCopy full SHA for f79e6be
1 file changed
spec/System/TestTradeQueryGenerator_spec.lua
@@ -5,8 +5,8 @@ describe("TradeQueryGenerator", function()
5
-- Pass: Mod line maps correctly to trade stat entry without error
6
-- Fail: Mapping fails (e.g., no match found), indicating incomplete stat parsing for curse mods, potentially missing curse-enabling items in queries
7
it("handles special curse case", function()
8
- local mod = { "You can apply an additional Curse" }
9
- local tradeStatsParsed = { result = { [2] = { entries = { { text = "You can apply # additional Curses", id = "id" } } } } }
+ local mod = { tradeHashes = {[30642521] = {"You can apply an additional Curse"}} }
+ local tradeStatsParsed = { result = { [2] = { entries = { { text = "You can apply # additional Curses", id = "explicit.stat_30642521" } } } } }
10
mock_queryGen.modData = { Explicit = true }
11
mock_queryGen:ProcessMod(mod, tradeStatsParsed, 1)
12
-- Simplified assertion; in full impl, check modData
0 commit comments