Sha256: 879674b076b41332970dd67c8ffae62bb3169753ba78468b7884269134f60a22

Contents?: true

Size: 234 Bytes

Versions: 6

Compression:

Stored size: 234 Bytes

Contents

describe "FalseClass#&" do
  it "returns false" do
    (false & false).should == false
    (false & true).should == false
    (false & nil).should == false
    (false & "").should == false
    (false & 'x').should == false
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
opal-0.3.2 gems/core/spec/core/false/and_spec.rb
opal-0.3.1 gems/core/spec/core/false/and_spec.rb
opal-0.3.0 gems/core/spec/core/false/and_spec.rb
opal-0.2.2 opals/opal/opal/spec/core/false/and_spec.rb
opal-0.2.0 opals/opal/opal/spec/core/false/and_spec.rb
opal-0.1.0 opals/opal/spec/core/false/and_spec.rb