From 84589e27e919acd6f8972bb053e209b175950cfc Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Thu, 7 Mar 2024 01:20:43 +0100 Subject: Interlal Change: Code cleanup (#1113) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../skyhanni/test/garden/VisitorToolTipParserTest.kt | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'src/test/java') diff --git a/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt b/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt index 3a4a08c47..8bc8808af 100644 --- a/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt +++ b/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorToolTipParserTest.kt @@ -22,10 +22,7 @@ class VisitorToolTipParserTest { @Test fun testParseItemsNeeded() { - val parsedData = VisitorTooltipParser.parse( - lore, - GardenConfig() - ) + val parsedData = VisitorTooltipParser.parse(lore, GardenConfig()) assert(parsedData.itemsNeeded.isNotEmpty()) { "Visitor items needed is ${parsedData.itemsNeeded.count()} instead of 1" } @@ -36,10 +33,7 @@ class VisitorToolTipParserTest { @Test fun testParseRewards() { - val parsedData = VisitorTooltipParser.parse( - lore, - GardenConfig() - ) + val parsedData = VisitorTooltipParser.parse(lore, GardenConfig()) assert(parsedData.rewards.isNotEmpty()) { "Visitor rewards is ${parsedData.rewards.count()} instead of 6" } @@ -62,10 +56,7 @@ class VisitorToolTipParserTest { @Test fun testParseCopper() { - val parsedData = VisitorTooltipParser.parse( - lore, - GardenConfig() - ) + val parsedData = VisitorTooltipParser.parse(lore, GardenConfig()) val copper = parsedData.rewards["Copper"] assert(copper == 23) { "Visitor rewards does not contain 'Copper' with amount '23'" -- cgit