LSL-PyOptimizer/unit_tests/regression.suite/svc-1710.lsl
Sei Lisa 1867dc78e7 Add the new test suite.
This test suite has been in use for a long time now, in place of the obsolete and unmanageable testparser.py and testfuncs.py. It verifies the complete optimizer output to stdout and stderr, to ensure that the output matches the expectations.

See unit_tests/README.txt for more info.
2019-01-04 20:27:36 +01:00

13 lines
388 B
Text

// Under Mono, cast to string/key then to list returns correct types.
default
{
timer()
{
llSetPrimitiveParams(
[ llGetListEntryType((list)((key)""),0)
, llGetListEntryType((list)((string)llList2Key([],0)),0)
, llGetListEntryType([] + (key)"",0)
, llGetListEntryType([] + (string)llList2Key([],0),0)
]);
}
}