Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 260 Bytes
require "helper"
class WithTest < Johnson::NodeTestCase
def test_with
assert_sexp([[:with, [:name, "o"], [:name, "x"]]],
@parser.parse('with (o) x;')
)
assert_ecma("with(o) x;", @parser.parse('with (o) x;'))
end
end
Jump to Line
Something went wrong with that request. Please try again.