Warning: file_get_contents(http://localhost:8000/calc?cmd=173&userid=0&debug=1): failed to open stream: Cannot assign requested address in /var/www/tb/show-snippet.php on line 158
newCleanEnv (test case) [173]

Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #173 // newCleanEnv (test case)

Lua code - System test

env = newCleanEnv()
load("x=1", "", "t", env)()
assert(x==nil)
assert(env.x==1)
return true

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

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 95 [visualize]

Snippet ID: #173
Snippet name: newCleanEnv (test case)
Eternal ID of this version: #173/1
Text MD5: 2befe7686276ec053c0c1730768c988b
Author: stefan
Category: system tests
Type: Lua code - System test
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2014-01-15 22:57:59
Source code size: 95 bytes / 5 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 771 / 197
Referenced in: [show references]