updating module loading test

This commit is contained in:
Jeremy Ashkenas 2010-03-15 23:08:58 -07:00
parent 0b3054a348
commit 21e954eec3
2 changed files with 5 additions and 3 deletions

View File

@ -1,2 +1,2 @@
# Check if it can import a coffeescript-only module and check its output
ok (require 'test_module').foo is "bar"
# Check if it can import and execute a coffeescript-only module successfully.
ok require('test_module').func() is "from over there"

View File

@ -1 +1,3 @@
exports.foo: "bar"
local: "from over there"
exports.func: -> local