Sha256: 491b938aefe457f07886ae49a2d414bf17d94f6cf23a0d1800253c236bff81e0
Contents?: true
Size: 417 Bytes
Versions: 26
Compression:
Stored size: 417 Bytes
Contents
require 'spec_helper' describe "The undef keyword" do it "returns s(:undef) with the argument as an s(:lit)" do opal_parse("undef a").should == [:undef, [:lit, :a]] end it "appends multiple parts onto end of list" do opal_parse("undef a, b").should == [:undef, [:lit, :a], [:lit, :b]] end it "can take symbols or fitems" do opal_parse("undef :foo").should == [:undef, [:lit, :foo]] end end
Version data entries
26 entries across 26 versions & 1 rubygems