mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-01-14 09:17:55 -05:00
updating module loading test
This commit is contained in:
@@ -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"
|
||||
@@ -1 +1,3 @@
|
||||
exports.foo: "bar"
|
||||
local: "from over there"
|
||||
|
||||
exports.func: -> local
|
||||
Reference in New Issue
Block a user