diff --git a/test/test_importing.coffee b/test/test_importing.coffee index 6ae62e0b..1b61ce8b 100644 --- a/test/test_importing.coffee +++ b/test/test_importing.coffee @@ -1,2 +1,2 @@ -# Check if it can import a coffeescript-only module and check its output -ok (require 'test_module').foo is "bar" \ No newline at end of file +# Check if it can import and execute a coffeescript-only module successfully. +ok require('test_module').func() is "from over there" \ No newline at end of file diff --git a/test/test_module.coffee b/test/test_module.coffee index 7c3b08df..9937ac8e 100644 --- a/test/test_module.coffee +++ b/test/test_module.coffee @@ -1 +1,3 @@ -exports.foo: "bar" \ No newline at end of file +local: "from over there" + +exports.func: -> local \ No newline at end of file