WML Unit Tests: Fix issues found by the schema validator

With this, the WML unit tests are as clean of schema errors as they can get
The two remaining errors are unit tests for dealing with invalid input,
so they are intentionally violating the schema.
This commit is contained in:
Celtic Minstrel 2018-04-07 12:11:25 -04:00
parent e47ace53a9
commit 8b9d317d72
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ Gg, Gs, Gs, Hh, Gg^Efm, Gs^Fms, Hh^Fms, Mm, Wwf, Wwf, Ww, Ww, Wo, Wo, Ww, Ww, Ww
Hh, Gg, Gg, Gg, Gg, Gg^Efm, Gg, Wwf, Ww, Ww, Wo, Wo, Wo, Ww, Wwf, Wwf, Gg, Gg, Gg, Gg, Rr, Rr, Gg, Rr, Hh, Hh^Fms, Hh, Gg, Gg^Fp, Wwf, Ww, Wwf, Wwf, Wwf, Wwf, Gg, Gg, Gs, Gg, Gs, Gg^Fp, Hh^Fms, Mm, Hh, Gg^Fms, Rr, Gg, Gs, Gg
Gs^Fp, Hh, Mm, Hh^Fds, Gs^Fp, Hh, Wwf, Wwf, Ww, Wo, Wo, Wo, Wo, Ww, Wwf, Mm, Hh^Fms, Hh, Rr, Rr, Hh^Fds, Mm, Hh^Fds, Gg^Fms, Gg^Fet, Mm, Gg^Uf, Gg^Fms, Wwf, Wwf, Ww, Ww, Ww, Ww, Ww, Wwf, Wwf, Wwf, Wwf, Gg, Gg^Fms, Mm, Mm, Mm, Gg^Uf, Rr, Uu^Uf, Gg^Efm, Gg^Fet
"
random_starting_time=no
random_start_time=no
turns=-1
victory_when_enemies_defeated=yes
[time]

View File

@ -41,10 +41,10 @@
description="spawn a unit"
[filter_location]
[not]
[have_unit]
[filter]
x=$x1
y=$y1
[/have_unit]
[/filter]
[/not]
[/filter_location]
[command]