Sha256: aeb6d59d8e8295e4d1859b444cc19913f44432418e51eee0b71c698c7655e936
Contents?: true
Size: 312 Bytes
Versions: 39
Compression:
Stored size: 312 Bytes
Contents
require 'support/parser_helpers' describe "The or statement" do it "should always return s(:or)" do parsed("1 or 2").should == [:or, [:int, 1], [:int, 2]] end end describe "The || expression" do it "should always return s(:or)" do parsed("1 || 2").should == [:or, [:int, 1], [:int, 2]] end end
Version data entries
39 entries across 39 versions & 3 rubygems