 Lua code - System test
 Lua code - System tests = new_sandbox_1()
s.run("a=5")
assert(s.get_inner("a") == 5)
assert(a == nil) -- just checking that we actually have a sandbox :)
return trueBegan life as a copy of #558
test run test run with input download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #559 | 
| Snippet name: | Sandboxing Test 2 | 
| Eternal ID of this version: | #559/1 | 
| Text MD5: | 1f9edf2f2c0db292fc2262ed2f465048 | 
| Author: | stefan | 
| Category: | |
| Type: | Lua code - System test | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2015-04-05 17:53:09 | 
| Source code size: | 151 bytes / 7 lines | 
| Pitched / IR pitched: | No / Yes | 
| Views / Downloads: | 1457 / 310 | 
| Referenced in: | [show references] |