Skip to content

Commit

Permalink
fix: applier debug test refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Chillu1 committed Dec 14, 2024
1 parent 71a8a4f commit 8425ea3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ModiBuff/ModiBuff.Tests/ApplierTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,11 @@ public void ModifierDoesntExist()
}

[Test]
public void ApplierDoesntExist()
{
#if !DEBUG
Setup();
Assert.Ignore("This test is only for debug mode");
[Ignore("This test is only for debug mode. Skipping test")]
#endif
public void ApplierDoesntExist()
{
Setup();

Assert.Throws<AssertionException>(() => _ = new ApplierEffect("NonExistentApplier"));
Expand Down

0 comments on commit 8425ea3

Please sign in to comment.