mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Add llGetEnv to the partially computable functions.
Includes all known settings up to 16.12.03.322072 so far. It will be updated as new settings are added.
This commit is contained in:
parent
b4a8b57184
commit
ae984169ad
2 changed files with 19 additions and 2 deletions
|
@ -1298,7 +1298,12 @@ def do_tests():
|
|||
test('llListInsertList([], [1], -1)', [1])
|
||||
test('llListInsertList([1,2,3,4,5],[9],-3)', [1,2,9,3,4,5])
|
||||
|
||||
test('llGetEnv(u"")', u'')
|
||||
test('llGetEnv(u"yadda")', u'')
|
||||
shouldexcept('llGetEnv(u"agent_limit")', ELSLCantCompute)
|
||||
|
||||
# JSON tests - Here be dragons.
|
||||
print("9 errors expected past here -------------------------------------------------")
|
||||
test('''llEscapeURL(llList2Json(JSON_OBJECT, [llUnescapeURL(
|
||||
u"%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F"
|
||||
u"%10%11%12%13%14%15%16%17%18%19%1A%1B%1C%1D%1E%1F"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue