Sha256: f26065ad863c88952b74c9e1f019ff9dae2b8e6cce9760ba22822d9240a955e3
Contents?: true
Size: 499 Bytes
Versions: 10
Compression:
Stored size: 499 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), "helper")) class DotAccessorTest < Johnson::NodeTestCase def test_expression_statement assert_sexp( [[:dot_accessor, [:name, "bar"], [:name, "foo"]]], @parser.parse('foo.bar;') ) assert_sexp( [[:dot_accessor, [:name, "bar"], [:name, "foo"]]], @parser.parse('foo.bar') ) assert_ecma('foo.bar;', @parser.parse('foo.bar;')) end end
Version data entries
10 entries across 10 versions & 4 rubygems