mirror of
https://github.com/rails/execjs
synced 2023-03-27 23:21:20 -04:00
Fix coffee-script url
This commit is contained in:
parent
79b239766a
commit
3ebe3d4022
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class TestExecJS < Test
|
||||||
|
|
||||||
def test_coffeescript
|
def test_coffeescript
|
||||||
require "open-uri"
|
require "open-uri"
|
||||||
assert source = open("http://jashkenas.github.com/coffee-script/extras/coffee-script.js").read
|
assert source = open("http://coffeescript.org/extras/coffee-script.js").read
|
||||||
context = ExecJS.compile(source)
|
context = ExecJS.compile(source)
|
||||||
assert_equal 64, context.call("CoffeeScript.eval", "((x) -> x * x)(8)")
|
assert_equal 64, context.call("CoffeeScript.eval", "((x) -> x * x)(8)")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue