diff options
Diffstat (limited to 'utils/tests/iojs/method/program.js')
-rwxr-xr-x | utils/tests/iojs/method/program.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/utils/tests/iojs/method/program.js b/utils/tests/iojs/method/program.js deleted file mode 100755 index 611a109..0000000 --- a/utils/tests/iojs/method/program.js +++ /dev/null @@ -1,8 +0,0 @@ -var test = require('test'); -var a = require('a'); -var foo = a.foo; -test.assert(a.foo() == a, 'calling a module member'); -test.assert(foo() == (function (){return this})(), 'members not implicitly bound'); -a.set(10); -test.assert(a.get() == 10, 'get and set') -print('DONE', 'info'); |