norman / telescope

A highly customizable test library for Lua that allows declarative tests with nested contexts.
http://norman.github.com/telescope/
160 stars 35 forks source link

Global "t2" ? #23

Closed Yonaba closed 11 years ago

Yonaba commented 11 years ago

Hi,

In telescope.lua, the private function invert_table creates a global table named t2 at line 183. Shouldn't it be local to the function, or is it intended ?

Regards, Roland.

norman commented 11 years ago

That's a bug! Completely, totally unintentional.

norman commented 11 years ago

Fixed in c80b928e306cad7195e1ce5b92ddcdcb0a2c50b2. Thanks!