Fix the indentation in test_lua_wml
This main change here is moving tags to their own line, to avoid wmlindent bug #1397. The lua gets a manual tabs-to-spaces conversion.
This commit is contained in:
parent
dd864d5a4a
commit
adf39d3d4a
1 changed files with 48 additions and 38 deletions
|
@ -1,3 +1,5 @@
|
|||
# wmllint: no translatables
|
||||
|
||||
{GENERIC_UNIT_TEST "test_wml_actions" (
|
||||
[event]
|
||||
name = start
|
||||
|
@ -45,23 +47,30 @@
|
|||
>>
|
||||
[/lua]
|
||||
|
||||
{ASSERT ([foo]
|
||||
{ASSERT (
|
||||
[foo]
|
||||
bar = "baz"
|
||||
[/foo])}
|
||||
{ASSERT ([not]
|
||||
[/foo]
|
||||
)}
|
||||
{ASSERT (
|
||||
[not]
|
||||
[foo]
|
||||
bar = "boo"
|
||||
[/foo]
|
||||
[/not])}
|
||||
{ASSERT ([foo]
|
||||
[/not]
|
||||
)}
|
||||
{ASSERT (
|
||||
[foo]
|
||||
bar = "baz"
|
||||
[/foo]
|
||||
[or]
|
||||
[foo]
|
||||
bar = "boo"
|
||||
[/foo]
|
||||
[/or])}
|
||||
{ASSERT ([not]
|
||||
[/or]
|
||||
)}
|
||||
{ASSERT (
|
||||
[not]
|
||||
[foo]
|
||||
bar = "baz"
|
||||
[/foo]
|
||||
|
@ -70,7 +79,8 @@ bar = "baz"
|
|||
bar = "boo"
|
||||
[/foo]
|
||||
[/and]
|
||||
[/not])}
|
||||
[/not]
|
||||
)}
|
||||
|
||||
{SUCCEED}
|
||||
[/event]
|
||||
|
|
Loading…
Add table
Reference in a new issue