Sha256: b2247cba010099907bfbdbc14944be1471cdab77d81b7fde1a03ad247bc57fc2

Contents?: true

Size: 244 Bytes

Versions: 4

Compression:

Stored size: 244 Bytes

Contents

FancySpec describe: Set with: {
  it: "should only keep unique values" for: "[]" when: {
    s = Set new
    s << 'foo
    s << 'foo
    s size should == 1
    s should == (Set[['foo]])
    s should_not == ['foo] # Sets and Arrays differ
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fancy-0.3.3 tests/set.fy
fancy-0.3.2 tests/set.fy
fancy-0.3.1 tests/set.fy
fancy-0.3.0 tests/set.fy