Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opal/opal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9e33b98d50ec
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4e1086006123
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Oct 29, 2013

  1. Copy the full SHA
    2feebba View commit details
  2. Copy the full SHA
    4e10860 View commit details
Showing with 8 additions and 0 deletions.
  1. +3 −0 spec/filters/bugs/hash.rb
  2. +2 −0 spec/filters/unsupported/frozen.rb
  3. +3 −0 spec/rubyspecs
3 changes: 3 additions & 0 deletions spec/filters/bugs/hash.rb
Original file line number Diff line number Diff line change
@@ -140,6 +140,9 @@
fails "Hash#shift returns (computed) default for empty hashes"
fails "Hash#shift raises a RuntimeError if called on a frozen instance"

fails "Hash#store stores unequal keys that hash to the same value"
fails "Hash#store associates the key with the value and return the value"

fails "Hash#to_s handles hashes with recursive values"

fails "Hash#update raises a RuntimeError on a frozen instance that would not be modified"
2 changes: 2 additions & 0 deletions spec/filters/unsupported/frozen.rb
Original file line number Diff line number Diff line change
@@ -62,4 +62,6 @@
fails "Hash#initialize_copy raises a RuntimeError if called on a frozen instance that would not be modified"
fails "Hash#initialize_copy raises a RuntimeError if called on a frozen instance that is modified"
fails "Hash#initialize raises a RuntimeError if called on a frozen instance"
fails "Hash#store raises a RuntimeError if called on a frozen instance"
fails "Hash#store duplicates and freezes string keys"
end
3 changes: 3 additions & 0 deletions spec/rubyspecs
Original file line number Diff line number Diff line change
@@ -191,7 +191,10 @@ core/hash/replace_spec
core/hash/select_spec
core/hash/shift_spec
core/hash/size_spec
core/hash/store_spec
core/hash/to_a_spec
core/hash/to_h_spec
core/hash/to_hash_spec
core/hash/to_s_spec
core/hash/update_spec
core/hash/value_spec