tests/lua/README.md
author Wuzzy <Wuzzy2@mail.ru>
Sat, 02 Nov 2019 13:01:28 +0100
changeset 15501 5a30396f8fb2
parent 12643 5bc6fb5da42f
permissions -rw-r--r--
ClimbHome: Change misleading Seed assignment to nil value This was "Seed = ClimbHome", but ClimbHome was a nil value. This code still worked as the engine interpreted the nil value as empty string. But it can be very misleading. This changeset makes the Seed assignment more explicit by assigning the empty string directly. The compability has been tested.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12643
5bc6fb5da42f Add README files to explain the tests directory
Wuzzy <almikes@aol.com>
parents:
diff changeset
     1
Lua scripts for engine testing. These scripts are the same as other Lua scripts
5bc6fb5da42f Add README files to explain the tests directory
Wuzzy <almikes@aol.com>
parents:
diff changeset
     2
in Hedgewars, but you ought to call `EndLuaTest(TEST_SUCCESSFUL)` or
5bc6fb5da42f Add README files to explain the tests directory
Wuzzy <almikes@aol.com>
parents:
diff changeset
     3
`EndLuaTest(TEST_FAILED)` when the test is completed.