mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
updating module loading test
This commit is contained in:
parent
0b3054a348
commit
21e954eec3
2 changed files with 5 additions and 3 deletions
|
@ -1,2 +1,2 @@
|
||||||
# Check if it can import a coffeescript-only module and check its output
|
# Check if it can import and execute a coffeescript-only module successfully.
|
||||||
ok (require 'test_module').foo is "bar"
|
ok require('test_module').func() is "from over there"
|
|
@ -1 +1,3 @@
|
||||||
exports.foo: "bar"
|
local: "from over there"
|
||||||
|
|
||||||
|
exports.func: -> local
|
Loading…
Add table
Reference in a new issue