Skip to content

Commit

Permalink
Updated test to initialize TurnCounters prior to testing them. Not al…
Browse files Browse the repository at this point in the history
…l systems need this, apparently. (#33)
  • Loading branch information
BadHorseMonkey committed Sep 27, 2021
1 parent 16568f1 commit 4e8c63d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/net/sourceforge/kolmafia/CustomScriptTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import net.java.dev.spellcast.utilities.DataUtilities;

import net.sourceforge.kolmafia.session.TurnCounter;
public class CustomScriptTest
{
// Directory containing expected output.
Expand Down Expand Up @@ -83,6 +84,7 @@ private void testScript( String script )
@Test
public void testScripts()
{
TurnCounter.clearCounters();
for ( String script : data() )
{
testScript( script );
Expand Down

0 comments on commit 4e8c63d

Please sign in to comment.