Sha256: 691c8cdfbcde79338c9147f876977978798ed9e883076df8dd1b499077d4a9df
Contents?: true
Size: 302 Bytes
Versions: 26
Compression:
Stored size: 302 Bytes
Contents
require 'spec_helper' describe "Instance variable assignment" do it "always returns an s(:iasgn)" do opal_parse("@a = 1").should == [:iasgn, :@a, [:lit, 1]] opal_parse("@A = 1").should == [:iasgn, :@A, [:lit, 1]] opal_parse("@class = 1").should == [:iasgn, :@class, [:lit, 1]] end end
Version data entries
26 entries across 26 versions & 1 rubygems