Sha256: c3b568c32a085ce2833da36aaa03736072de27e14a2909c73f997b46729856ef

Contents?: true

Size: 313 Bytes

Versions: 10

Compression:

Stored size: 313 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), "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

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
johnson19-2.0.0.pre3 test/johnson/generic/nodes/with_test.rb
pre-johnson-2.0.0 test/johnson/generic/nodes/with_test.rb
johnson-2.0.0.pre3 test/johnson/generic/nodes/with_test.rb
johnson-2.0.0.pre2 test/johnson/generic/nodes/with_test.rb
johnson-2.0.0.pre1 test/johnson/generic/nodes/with_test.rb
johnson-2.0.0.pre0 test/johnson/generic/nodes/with_test.rb
smparkes-johnson-1.1.2.6 test/johnson/generic/nodes/with_test.rb
smparkes-johnson-1.1.2.5 test/johnson/generic/nodes/with_test.rb
smparkes-johnson-1.1.2.4 test/johnson/generic/nodes/with_test.rb
smparkes-johnson-1.1.2.3 test/johnson/generic/nodes/with_test.rb