Sha256: 64b2a185444d8792384504150d055ff95da889f517a073ac2555aebf58a5867b
Contents?: true
Size: 253 Bytes
Versions: 26
Compression:
Stored size: 253 Bytes
Contents
require 'spec_helper' describe "Local assignment" do it "returns an s(:lasgn)" do opal_parse("a = 1").should == [:lasgn, :a, [:lit, 1]] opal_parse("a = 1; b = 2").should == [:block, [:lasgn, :a, [:lit, 1]], [:lasgn, :b, [:lit, 2]]] end end
Version data entries
26 entries across 26 versions & 1 rubygems