1
0
Fork 0
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:
Joshua Peek 2014-05-19 09:48:12 -04:00
parent 79b239766a
commit 3ebe3d4022

View file

@ -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