fixup lines with two closers on a line in wml test directory
wmlindent chokes on these commit made with the following command: find data/test/scenarios/ -type f -print0 | xargs -0 sed -i "s|^\([[:space:]]*\[\/.*\]\)[[:space:]]*)\}[[:space:]]*$|\1\n)}|"
This commit is contained in:
parent
5637494c3e
commit
4046666bee
5 changed files with 16 additions and 8 deletions
|
@ -71,7 +71,8 @@
|
|||
code =<<
|
||||
wesnoth.set_variable("rnd_num", math.random(200))
|
||||
>>
|
||||
[/lua])}
|
||||
[/lua]
|
||||
)}
|
||||
|
||||
{TEST_BREAK_REPLAY "fixed_lua_random_replay_with_sync_choice"
|
||||
([lua]
|
||||
|
@ -82,4 +83,5 @@
|
|||
end)
|
||||
wesnoth.set_variable("rnd_num", result.value)
|
||||
>>
|
||||
[/lua])}
|
||||
[/lua]
|
||||
)}
|
||||
|
|
|
@ -189,7 +189,8 @@
|
|||
name=post_advance
|
||||
{VARIABLE pass_test 1}
|
||||
[/my_event]
|
||||
[/variables])}
|
||||
[/variables]
|
||||
)}
|
||||
[store_unit]
|
||||
[filter]
|
||||
x=1
|
||||
|
|
|
@ -61,7 +61,8 @@
|
|||
id=bob
|
||||
x={STOP_X}
|
||||
y={STOP_Y}
|
||||
[/have_unit])}
|
||||
[/have_unit]
|
||||
)}
|
||||
[/event]
|
||||
[/test]
|
||||
#enddef
|
||||
|
|
|
@ -9,14 +9,16 @@
|
|||
[have_unit]
|
||||
x,y=9,5
|
||||
[/have_unit]
|
||||
[/not])}
|
||||
[/not]
|
||||
)}
|
||||
#enddef
|
||||
|
||||
#define ASSERT_YES_9_5
|
||||
{ASSERT (
|
||||
[have_unit]
|
||||
x,y=9,5
|
||||
[/have_unit])}
|
||||
[/have_unit]
|
||||
)}
|
||||
#enddef
|
||||
|
||||
|
||||
|
|
|
@ -20,13 +20,15 @@
|
|||
side = 1
|
||||
search_recall_list = no
|
||||
[/have_unit]
|
||||
[/not])}
|
||||
[/not]
|
||||
)}
|
||||
{RETURN (
|
||||
[have_unit]
|
||||
id = Charlie
|
||||
canrecruit = no
|
||||
side = 1
|
||||
search_recall_list = yes
|
||||
[/have_unit])}
|
||||
[/have_unit]
|
||||
)}
|
||||
[/event]
|
||||
)}
|
||||
|
|
Loading…
Add table
Reference in a new issue