mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 18:28:35 +00:00
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:
parent
e47ace53a9
commit
8b9d317d72
@ -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]
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user