Sha256: 341eaf127c42e37664bd49043e62d47028615f3928230e1c31be18a5294475ec

Contents?: true

Size: 238 Bytes

Versions: 9

Compression:

Stored size: 238 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
opal-0.3.27 spec/core/false/and_spec.rb
opal-0.3.26 spec/core/false/and_spec.rb
opal-0.3.25 spec/core/false/and_spec.rb
opal-0.3.22 spec/core/false/and_spec.rb
opal-0.3.21 test/core/false/and_spec.rb
opal-0.3.20 test/core/false/and_spec.rb
opal-0.3.19 test/core/false/and_spec.rb
opal-0.3.18 core/spec/core/false/and_spec.rb
opal-0.3.17 spec/core/false/and_spec.rb