Sha256: e4d5663271466ef401315ca38a456f6f4f4911381afd621bbb9ccadb34d6bcab

Contents?: true

Size: 341 Bytes

Versions: 4

Compression:

Stored size: 341 Bytes

Contents

require File.expand_path('../../spec_helper', __FILE__)

describe "The and statement" do
  it "should always return s(:and)" do
    parsed("1 and 2").should == [:and, [:int, 1], [:int, 2]]
  end
end

describe "The && expression" do
  it "should always return s(:and)" do
    parsed("1 && 2").should == [:and, [:int, 1], [:int, 2]]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opal-0.6.3 spec/cli/parser/and_spec.rb
opal-0.6.2 spec/cli/parser/and_spec.rb
opal-0.6.1 spec/cli/parser/and_spec.rb
opal-0.6.0 spec/cli/parser/and_spec.rb