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:
Steve Cotton 2021-04-15 11:09:44 +02:00 committed by Steve Cotton
parent dd864d5a4a
commit adf39d3d4a

View file

@ -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]