Skip to content

Commit

Permalink
fixup schema validation 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed Nov 28, 2023
1 parent 9e3797a commit b75836a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# Expected end state:
# The Mage has 5 hp: 1 + 2 (rest healing) + 2 ([heals], fraction truncated)
#####
#ifndef SCHEMA_VALIDATION
{GENERIC_UNIT_TEST "heal_high_fraction" (
[event]
name = start
Expand All @@ -20,9 +21,7 @@
[effect]
apply_to = new_ability
[abilities]
#ifndef SCHEMA_VALIDATION
{TEST_HEALS 2.8 ()}
#endif
[/abilities]
[/effect]
[/modify_unit]
Expand Down Expand Up @@ -56,3 +55,4 @@
{SUCCEED}
[/event]
)}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# Expected end state:
# The Mage has 5 hp: 1 + 2 (rest healing) + 2 ([heals], fraction truncated)
#####
#ifndef SCHEMA_VALIDATION
{GENERIC_UNIT_TEST "heal_low_fraction" (
[event]
name = start
Expand All @@ -20,9 +21,7 @@
[effect]
apply_to = new_ability
[abilities]
#ifndef SCHEMA_VALIDATION
{TEST_HEALS 2.2 ()}
#endif
[/abilities]
[/effect]
[/modify_unit]
Expand Down Expand Up @@ -56,3 +55,4 @@
{SUCCEED}
[/event]
)}
#endif

0 comments on commit b75836a

Please sign in to comment.