Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test gdbm each_key called without a block #783

Closed
wants to merge 1 commit into from
Closed

test gdbm each_key called without a block #783

wants to merge 1 commit into from

Conversation

joeyates
Copy link

  • The aim of this test is to aid other implementations in being
    conformant with MRI.
  • The existing test calls GDBM#each_key with a block,
  • this commit tests that, when called without a block, the method
    returns an Enumerator, and does not assume there is a block,
  • the 'gdbm' gem attempts to have identical behaviour to this
    implementation, but assumes there is a block.

* The aim of this test is to aid other implementations in being
  conformant with MRI.

* The existing test calls GDBM#each_key with a block,
* this commit tests that, when called without a block, the method
  returns an Enumerator, and does not assume there is a block,
* the 'gdbm' gem attempts to have identical behaviour to this
  implementation, but assumes there is a block.
@hsbt hsbt closed this in bf29986 Dec 17, 2014
ayumin pushed a commit to ayumin/ruby that referenced this pull request Jan 4, 2015
…ock.

  Patch by @joeyates [fix rubyGH-783]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mmasaki pushed a commit to mmasaki/ruby that referenced this pull request May 30, 2015
…ock.

  Patch by @joeyates [fix rubyGH-783]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant